#CD9FE4#CD9FE4

#CD9FE4 is a light, moderate purple. Relative luminance 0.434; OKLCH L 76.9% C 0.108 H 314.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CD9FE4
RGBrgb(205, 159, 228)
HSLhsl(280, 56%, 76%)
HSVhsv(280, 30%, 89%)
CMYKcmyk(10.1%, 30.3%, 0%, 10.6%)
CIE-LABlab(71.81, 29.33, -28.35)
CIE-LCHlch(71.81, 40.79, 315.98°)
OKLaboklab(76.85% 0.0752 -0.0775)
OKLCHoklch(76.85% 0.108 314.1)
XYZxyz(51.5763, 43.3777, 79.0395)
Luminance0.4338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FE4 #B6E49F
analogous
#AA9FE4 #CD9FE4 #E49FD8
triadic
#CD9FE4 #E4CD9F #9FE4CD
tetradic
#CD9FE4 #E4AA9F #B6E49F #9FD8E4
square
#CD9FE4 #E4AA9F #B6E49F #9FD8E4
split-complementary
#CD9FE4 #D8E49F #9FE4AA
monochromatic
#9B3FC9 #B46FD7 #CD9FE4 #E6CFF1 #F3E7F8

Accessibility & contrast

On white

2.17
#CD9FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#CD9FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FE4
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FE4#FFFFFF#000000##000000
##CD9FE41.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ADE7
Deuteranopia (green-blind)
#9FB1E2
Tritanopia (blue-blind)
#CCA8B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9fe4;
/* rgb */ color: rgb(205, 159, 228);
/* oklch */ color: oklch(76.9% 0.108 314.1);
Tailwind
colors: {
  custom: {
    50: '#ddbbec',
    500: '#cd9fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fe4;
$custom-light: #ddbbec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fe4",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 228
  },
  "hsl": {
    "h": 280,
    "s": 56.098,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76855,
    "c": 0.10798,
    "h": 314.1
  },
  "luminance": 0.43377
}

Semantic roles & 50–950 ramp

primary
#CD9FE4
secondary
#E2F0DB
accent
#C42258
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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