#CD9FE2#CD9FE2

#CD9FE2 is a light, moderate purple. Relative luminance 0.433; OKLCH L 76.8% C 0.106 H 315.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CD9FE2
RGBrgb(205, 159, 226)
HSLhsl(281, 54%, 75%)
HSVhsv(281, 30%, 89%)
CMYKcmyk(9.3%, 29.6%, 0%, 11.4%)
CIE-LABlab(71.74, 28.92, -27.37)
CIE-LCHlch(71.74, 39.82, 316.58°)
OKLaboklab(76.77% 0.0746 -0.0747)
OKLCHoklch(76.77% 0.106 315)
XYZxyz(51.3003, 43.2673, 77.5857)
Luminance0.4327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FE2 #B4E29F
analogous
#AB9FE2 #CD9FE2 #E29FD5
triadic
#CD9FE2 #E2CD9F #9FE2CD
tetradic
#CD9FE2 #E2AB9F #B4E29F #9FD5E2
square
#CD9FE2 #E2AB9F #B4E29F #9FD5E2
split-complementary
#CD9FE2 #D5E29F #9FE2AB
monochromatic
#9C41C6 #B570D4 #CD9FE2 #E5CEF0 #F3E7F8

Accessibility & contrast

On white

2.18
#CD9FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#CD9FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FE2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FE2#FFFFFF#000000##000000
##CD9FE21.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ADE5
Deuteranopia (green-blind)
#A0B1E0
Tritanopia (blue-blind)
#CCA7B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9fe2;
/* rgb */ color: rgb(205, 159, 226);
/* oklch */ color: oklch(76.8% 0.106 315.0);
Tailwind
colors: {
  custom: {
    50: '#ddbbeb',
    500: '#cd9fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fe2;
$custom-light: #ddbbeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fe2",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 281.194,
    "s": 53.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76774,
    "c": 0.10563,
    "h": 315
  },
  "luminance": 0.43266
}

Semantic roles & 50–950 ramp

primary
#CD9FE2
secondary
#E2EFDC
accent
#C12456
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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