#CD9DFF#CD9DFF

#CD9DFF is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.7% C 0.144 H 305.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CD9DFF
RGBrgb(205, 157, 255)
HSLhsl(269, 100%, 81%)
HSVhsv(269, 38%, 100%)
CMYKcmyk(19.6%, 38.4%, 0%, 0%)
CIE-LABlab(72.44, 36.17, -42.08)
CIE-LCHlch(72.44, 55.48, 310.68°)
OKLaboklab(77.69% 0.0843 -0.1167)
OKLCHoklch(77.69% 0.144 305.8)
XYZxyz(55.2802, 44.3134, 100.2295)
Luminance0.4431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DFF #CFFF9D
analogous
#9D9EFF #CD9DFF #FE9DFF
triadic
#CD9DFF #FFCD9D #9DFFCD
tetradic
#CD9DFF #FF9D9E #CFFF9D #9DFFFE
square
#CD9DFF #FF9D9E #CFFF9D #9DFFFE
split-complementary
#CD9DFF #FFFE9D #9EFF9D
monochromatic
#8F23FF #AE60FF #CD9DFF #ECDAFF #EFE0FF

Accessibility & contrast

On white

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

On black

9.86
#CD9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DFF
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DFF#FFFFFF#000000##000000
##CD9DFF1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9dff;
/* rgb */ color: rgb(205, 157, 255);
/* oklch */ color: oklch(77.7% 0.144 305.8);
Tailwind
colors: {
  custom: {
    50: '#debaff',
    500: '#cd9dff',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dff;
$custom-light: #debaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dff",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 269.388,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77688,
    "c": 0.14397,
    "h": 305.8
  },
  "luminance": 0.44313
}

Semantic roles & 50–950 ramp

primary
#CD9DFF
secondary
#E6F7D4
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CD9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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