#CD9DFE#CD9DFE

#CD9DFE is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.6% C 0.143 H 306.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CD9DFE
RGBrgb(205, 157, 254)
HSLhsl(270, 98%, 81%)
HSVhsv(270, 38%, 100%)
CMYKcmyk(19.3%, 38.2%, 0%, 0.4%)
CIE-LABlab(72.39, 35.95, -41.60)
CIE-LCHlch(72.39, 54.98, 310.83°)
OKLaboklab(77.64% 0.0841 -0.1153)
OKLCHoklch(77.64% 0.143 306.1)
XYZxyz(55.1196, 44.2492, 99.3839)
Luminance0.4425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DFE #CEFE9D
analogous
#9D9DFE #CD9DFE #FE9DFE
triadic
#CD9DFE #FECD9D #9DFECD
tetradic
#CD9DFE #FE9D9D #CEFE9D #9DFEFE
square
#CD9DFE #FE9D9D #CEFE9D #9DFEFE
split-complementary
#CD9DFE #FEFE9D #9DFE9D
monochromatic
#8F24FD #AE60FD #CD9DFE #ECDAFF #F0E1FF

Accessibility & contrast

On white

2.13
#CD9DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CD9DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DFE
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DFE#FFFFFF#000000##000000
##CD9DFE1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#C6ACC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9dfe;
/* rgb */ color: rgb(205, 157, 254);
/* oklch */ color: oklch(77.6% 0.143 306.1);
Tailwind
colors: {
  custom: {
    50: '#ddbaff',
    500: '#cd9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dfe;
$custom-light: #ddbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dfe",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 269.691,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77642,
    "c": 0.14276,
    "h": 306.1
  },
  "luminance": 0.44249
}

Semantic roles & 50–950 ramp

primary
#CD9DFE
secondary
#E6F7D4
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CD9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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