#CD9EE4#CD9EE4

#CD9EE4 is a light, moderate purple. Relative luminance 0.430; OKLCH L 76.7% C 0.110 H 314.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CD9EE4
RGBrgb(205, 158, 228)
HSLhsl(280, 56%, 76%)
HSVhsv(280, 31%, 89%)
CMYKcmyk(10.1%, 30.7%, 0%, 10.6%)
CIE-LABlab(71.58, 29.88, -28.70)
CIE-LCHlch(71.58, 41.43, 316.15°)
OKLaboklab(76.68% 0.0767 -0.0785)
OKLCHoklch(76.68% 0.11 314.3)
XYZxyz(51.4051, 43.0352, 78.9824)
Luminance0.4303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EE4 #B5E49E
analogous
#AA9EE4 #CD9EE4 #E49ED8
triadic
#CD9EE4 #E4CD9E #9EE4CD
tetradic
#CD9EE4 #E4AA9E #B5E49E #9ED8E4
square
#CD9EE4 #E4AA9E #B5E49E #9ED8E4
split-complementary
#CD9EE4 #D8E49E #9EE4AA
monochromatic
#9C3EC9 #B46ED7 #CD9EE4 #E6CEF1 #F3E7F8

Accessibility & contrast

On white

2.19
#CD9EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#CD9EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EE4
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EE4#FFFFFF#000000##000000
##CD9EE41.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ADE7
Deuteranopia (green-blind)
#9EB1E2
Tritanopia (blue-blind)
#CCA7B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9ee4;
/* rgb */ color: rgb(205, 158, 228);
/* oklch */ color: oklch(76.7% 0.110 314.3);
Tailwind
colors: {
  custom: {
    50: '#ddbbec',
    500: '#cd9ee4',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ee4;
$custom-light: #ddbbec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ee4",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 228
  },
  "hsl": {
    "h": 280.286,
    "s": 56.452,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76678,
    "c": 0.10972,
    "h": 314.3
  },
  "luminance": 0.43034
}

Semantic roles & 50–950 ramp

primary
#CD9EE4
secondary
#E2F0DB
accent
#C42157
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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