#CD9EFD#CD9EFD

#CD9EFD is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.8% C 0.140 H 306.1°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CD9EFD
RGBrgb(205, 158, 253)
HSLhsl(270, 96%, 81%)
HSVhsv(270, 38%, 99%)
CMYKcmyk(19%, 37.5%, 0%, 0.8%)
CIE-LABlab(72.58, 35.18, -40.77)
CIE-LCHlch(72.58, 53.85, 310.79°)
OKLaboklab(77.77% 0.0825 -0.113)
OKLCHoklch(77.77% 0.14 306.1)
XYZxyz(55.1298, 44.5251, 98.5993)
Luminance0.4452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EFD #CEFD9E
analogous
#9E9EFD #CD9EFD #FC9EFD
triadic
#CD9EFD #FDCD9E #9EFDCD
tetradic
#CD9EFD #FD9E9E #CEFD9E #9EFDFC
square
#CD9EFD #FD9E9E #CEFD9E #9EFDFC
split-complementary
#CD9EFD #FDFC9E #9EFD9E
monochromatic
#8F26FB #AE62FC #CD9EFD #ECDAFE #F0E1FE

Accessibility & contrast

On white

2.12
#CD9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CD9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EFD
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EFD#FFFFFF#000000##000000
##CD9EFD1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#94B2FA
Tritanopia (blue-blind)
#C6ADC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9efd;
/* rgb */ color: rgb(205, 158, 253);
/* oklch */ color: oklch(77.8% 0.140 306.1);
Tailwind
colors: {
  custom: {
    50: '#ddbbfe',
    500: '#cd9efd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9efd;
$custom-light: #ddbbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9efd",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 269.684,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77767,
    "c": 0.13989,
    "h": 306.1
  },
  "luminance": 0.44525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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