#CD9EF1#CD9EF1

#CD9EF1 is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.2% C 0.125 H 309.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CD9EF1
RGBrgb(205, 158, 241)
HSLhsl(274, 75%, 78%)
HSVhsv(274, 34%, 95%)
CMYKcmyk(14.9%, 34.4%, 0%, 5.5%)
CIE-LABlab(72.08, 32.59, -35.02)
CIE-LCHlch(72.08, 47.84, 312.94°)
OKLaboklab(77.23% 0.0799 -0.0965)
OKLCHoklch(77.23% 0.125 309.6)
XYZxyz(53.2780, 43.7843, 88.8465)
Luminance0.4378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF1 #C2F19E
analogous
#A39EF1 #CD9EF1 #F19EEB
triadic
#CD9EF1 #F1CD9E #9EF1CD
tetradic
#CD9EF1 #F1A39E #C2F19E #9EEBF1
square
#CD9EF1 #F1A39E #C2F19E #9EEBF1
split-complementary
#CD9EF1 #EBF19E #9EF1A3
monochromatic
#9633E2 #B169E9 #CD9EF1 #E9D3F9 #F1E4FB

Accessibility & contrast

On white

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

On black

9.76
#CD9EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF1
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF1#FFFFFF#000000##000000
##CD9EF11.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF4
Deuteranopia (green-blind)
#99B2EF
Tritanopia (blue-blind)
#C9AABD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9ef1;
/* rgb */ color: rgb(205, 158, 241);
/* oklch */ color: oklch(77.2% 0.125 309.6);
Tailwind
colors: {
  custom: {
    50: '#ddbbf6',
    500: '#cd9ef1',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef1;
$custom-light: #ddbbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef1",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 241
  },
  "hsl": {
    "h": 273.976,
    "s": 74.775,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7723,
    "c": 0.12526,
    "h": 309.6
  },
  "luminance": 0.43784
}

Semantic roles & 50–950 ramp

primary
#CD9EF1
secondary
#E4F3D8
accent
#D70F65
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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