#CD9FEE#CD9FEE

#CD9FEE is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.3% C 0.120 H 310.4°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CD9FEE
RGBrgb(205, 159, 238)
HSLhsl(275, 70%, 78%)
HSVhsv(275, 33%, 93%)
CMYKcmyk(13.9%, 33.2%, 0%, 6.7%)
CIE-LABlab(72.19, 31.41, -33.22)
CIE-LCHlch(72.19, 45.71, 313.40°)
OKLaboklab(77.27% 0.0777 -0.0913)
OKLCHoklch(77.27% 0.12 310.4)
XYZxyz(53.0049, 43.9491, 86.5631)
Luminance0.4395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FEE #C0EE9F
analogous
#A59FEE #CD9FEE #EE9FE7
triadic
#CD9FEE #EECD9F #9FEECD
tetradic
#CD9FEE #EEA59F #C0EE9F #9FE7EE
square
#CD9FEE #EEA59F #C0EE9F #9FE7EE
split-complementary
#CD9FEE #E7EE9F #9FEEA5
monochromatic
#9737DC #B26BE5 #CD9FEE #E8D3F7 #F1E5FA

Accessibility & contrast

On white

2.15
#CD9FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CD9FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FEE
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FEE#FFFFFF#000000##000000
##CD9FEE1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF1
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#C9AABC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9fee;
/* rgb */ color: rgb(205, 159, 238);
/* oklch */ color: oklch(77.3% 0.120 310.4);
Tailwind
colors: {
  custom: {
    50: '#ddbcf3',
    500: '#cd9fee',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fee;
$custom-light: #ddbcf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fee",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 274.937,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77274,
    "c": 0.11993,
    "h": 310.4
  },
  "luminance": 0.43948
}

Semantic roles & 50–950 ramp

primary
#CD9FEE
secondary
#E3F2D9
accent
#D21463
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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