Skip to content

#cb8cdc

a light, vivid violet · neutral · closest name: Violet

RGB
203, 140, 220
HSL
287°, 53%, 71%
CMYK
8, 36, 0, 14
Luminance
0.3662

At a glance

Every number on this page in one read: what #cb8cdc is made of, how bright it looks, and which way it leans.

Hex
#cb8cdc
Hue
287°
violet
Saturation
53%
vivid
Lightness
71%
light
Brightness
86%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3662
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.32:1
Closest name
Violet
ΔE2000 6.5
Where it sits
Hue287° of 360°
Saturation53%
Lightness71%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cb8cdc
RGBrgb(203, 140, 220)
HSLhsl(287, 53%, 71%)
CMYKcmyk(8%, 36%, 0%, 14%)
LABlab(67.0 37.5 -31.4)
LCHlch(67.0 48.9 320.0)
OKLCHoklch(0.731 0.131 318.9)
Decimal13339868
Display P3color(display-p3 0.796 0.549 0.863)

Copy-ready code

/* CSS */
color: #cb8cdc;
background-color: #cb8cdc;
/* Tailwind (arbitrary) */
class="text-[#cb8cdc] bg-[#cb8cdc]"
/* SCSS */
$brand: #cb8cdc;
/* SwiftUI */
Color(red: 0.796, green: 0.549, blue: 0.863)
/* Android */
Color.parseColor("#cb8cdc")
/* Flutter */
Color(0xFFCB8CDC)
/* Python / OpenCV (BGR) */
(220, 140, 203)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cb8cdc · 8.32:1
Use #000000AAA at every size.
Aa
White text · 2.52:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.32:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cb8cdc as text scores 2.52:1 on white and 8.32:1 on black.

Accessibility — WCAG contrast

Aa
#cb8cdc on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#cb8cdc on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #819FDF
deuteranopia · #91A5DA
tritanopia · #CC96AA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb8cdc is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F4FB
#F3E9F6
#E7CEED
#D8A9E5
#cb8cdc
#B153CB
#A039BC
#85309C
#6B267D
#4F1F5B
#311339
Base = 400Lightest = 50 · #F9F4FBDarkest = 950 · #311339
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F6;
  --brand-200: #E7CEED;
  --brand-300: #D8A9E5;
  --brand-400: #cb8cdc;
  --brand-500: #B153CB;
  --brand-600: #A039BC;
  --brand-700: #85309C;
  --brand-800: #6B267D;
  --brand-900: #4F1F5B;
  --brand-950: #311339;
  --brand: #cb8cdc;
  --brand-ink: #000000;
}

Colors that work with #cb8cdc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#E3C0EC
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#62A02C
Second voice, not a rival
Dark variant#531E62
Hover, pressed, headers
Light variant#F6EBF9
Selected rows, tints
Dark surface#211424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cb8cdc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#9DDC8C
Analogous left#A38CDC
Analogous right#DC8CC5
Split-complement 1#C5DC8C
Split-complement 2#8CDCA3
Triadic 1#DCCB8C
Triadic 2#8CDCCB
Tetradic#DCA38C

RGB percentages

Red79.6%
Green54.9%
Blue86.3%

CMYK percentages

Cyan7.7%
Magenta36.4%
Yellow0.0%
Key (black)13.7%

Color previews

#cb8cdc text on a black background

contrast 8.32:1

Card sample

#cb8cdc text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cb8cdc;
Background color
Panel with #cb8cdc background
background-color: #cb8cdc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cb8cdc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 140, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 140, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb8cdc;
background: linear-gradient(135deg, #cb8cdc, #DC8CB8);

Monochromatic scale

Palettes built from #cb8cdc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cb8cdc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#cb8cdc, answered

What color is #cb8cdc?

#cb8cdc is a light vivid violet, closest to Violet (ΔE2000 6.5). It sits at 287° on the hue wheel with 53% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #cb8cdc?

rgb(203, 140, 220) — 203 red, 140 green and 220 blue out of 255, or 79.6% / 54.9% / 86.3% by channel.

Is #cb8cdc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3662 and perceived brightness is 67%, so black text on it reaches 8.32:1.

Should I use black or white text on #cb8cdc?

Black. It scores 8.32:1 against #cb8cdc, versus 2.52:1 for white — AAA at any size.

What is the complementary color of #cb8cdc?

#9DDC8C sits directly opposite on the wheel. Softer options are the split-complements #C5DC8C and #8CDCA3, which give the same contrast with far less vibration.

What colors go well with #cb8cdc?

For interface work: #F9F4FA as the surface, #E3C0EC for borders, #8A4B9B for secondary text, #62A02C as an accent and #531E62 for hover and pressed states. For a palette, the analogous pair #A38CDC and #DC8CC5 stays calm, while #9DDC8C is the loudest partner.

What is #cb8cdc in CMYK for printing?

cmyk(8%, 36%, 0%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cb8cdc warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DC8CD0; nudged cooler, #AE8BDD.

Work with #cb8cdc in the Color Lab