#CD9BEA#CD9BEA

#CD9BEA is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.4% C 0.122 H 312.6°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CD9BEA
RGBrgb(205, 155, 234)
HSLhsl(278, 65%, 76%)
HSVhsv(278, 34%, 92%)
CMYKcmyk(12.4%, 33.8%, 0%, 8.2%)
CIE-LABlab(71.12, 32.75, -32.69)
CIE-LCHlch(71.12, 46.28, 315.05°)
OKLaboklab(76.41% 0.0825 -0.0898)
OKLCHoklch(76.41% 0.122 312.6)
XYZxyz(51.7470, 42.3632, 83.2768)
Luminance0.4236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BEA #B8EA9B
analogous
#A69BEA #CD9BEA #EA9BE0
triadic
#CD9BEA #EACD9B #9BEACD
tetradic
#CD9BEA #EAA69B #B8EA9B #9BE0EA
square
#CD9BEA #EAA69B #B8EA9B #9BE0EA
split-complementary
#CD9BEA #E0EA9B #9BEAA6
monochromatic
#9A36D5 #B468DF #CD9BEA #E6CEF5 #F2E6FA

Accessibility & contrast

On white

2.22
#CD9BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CD9BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BEA
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BEA#FFFFFF#000000##000000
##CD9BEA1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABED
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#CBA5B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9bea;
/* rgb */ color: rgb(205, 155, 234);
/* oklch */ color: oklch(76.4% 0.122 312.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9f1',
    500: '#cd9bea',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bea;
$custom-light: #ddb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bea",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 234
  },
  "hsl": {
    "h": 277.975,
    "s": 65.289,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76406,
    "c": 0.12198,
    "h": 312.6
  },
  "luminance": 0.42362
}

Semantic roles & 50–950 ramp

primary
#CD9BEA
secondary
#E2F1DA
accent
#CD185B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BEA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD9BEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva