#CD9FFC#CD9FFC

#CD9FFC is a light, vivid violet. Relative luminance 0.448; OKLCH L 77.9% C 0.137 H 306.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CD9FFC
RGBrgb(205, 159, 252)
HSLhsl(270, 94%, 81%)
HSVhsv(270, 37%, 99%)
CMYKcmyk(18.7%, 36.9%, 0%, 1.2%)
CIE-LABlab(72.76, 34.42, -39.94)
CIE-LCHlch(72.76, 52.73, 310.75°)
OKLaboklab(77.89% 0.0809 -0.1106)
OKLCHoklch(77.89% 0.137 306.2)
XYZxyz(55.1422, 44.8040, 97.8197)
Luminance0.4480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FFC #CEFC9F
analogous
#9F9FFC #CD9FFC #FB9FFC
triadic
#CD9FFC #FCCD9F #9FFCCD
tetradic
#CD9FFC #FC9F9F #CEFC9F #9FFCFB
square
#CD9FFC #FC9F9F #CEFC9F #9FFCFB
split-complementary
#CD9FFC #FCFB9F #9FFC9F
monochromatic
#8F28F8 #AE64FA #CD9FFC #ECDAFE #F0E1FE

Accessibility & contrast

On white

2.11
#CD9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CD9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FFC
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FFC#FFFFFF#000000##000000
##CD9FFC1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#C6ADC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cd9ffc;
/* rgb */ color: rgb(205, 159, 252);
/* oklch */ color: oklch(77.9% 0.137 306.2);
Tailwind
colors: {
  custom: {
    50: '#ddbcfd',
    500: '#cd9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ffc;
$custom-light: #ddbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ffc",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 269.677,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77893,
    "c": 0.13703,
    "h": 306.2
  },
  "luminance": 0.44804
}

Semantic roles & 50–950 ramp

primary
#CD9FFC
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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