#CD9EFB#CD9EFB

#CD9EFB is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.7% C 0.137 H 306.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CD9EFB
RGBrgb(205, 158, 251)
HSLhsl(270, 92%, 80%)
HSVhsv(270, 37%, 98%)
CMYKcmyk(18.3%, 37.1%, 0%, 1.6%)
CIE-LABlab(72.49, 34.74, -39.82)
CIE-LCHlch(72.49, 52.85, 311.11°)
OKLaboklab(77.68% 0.0821 -0.1102)
OKLCHoklch(77.68% 0.137 306.7)
XYZxyz(54.8129, 44.3983, 96.9302)
Luminance0.4440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EFB #CCFB9E
analogous
#9F9EFB #CD9EFB #FB9EFA
triadic
#CD9EFB #FBCD9E #9EFBCD
tetradic
#CD9EFB #FB9F9E #CCFB9E #9EFAFB
square
#CD9EFB #FB9F9E #CCFB9E #9EFAFB
split-complementary
#CD9EFB #FAFB9E #9EFB9F
monochromatic
#9028F6 #AF63F9 #CD9EFB #EBD9FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.88
#CD9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EFB
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EFB#FFFFFF#000000##000000
##CD9EFB1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#95B2F8
Tritanopia (blue-blind)
#C6ACC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9efb;
/* rgb */ color: rgb(205, 158, 251);
/* oklch */ color: oklch(77.7% 0.137 306.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbfd',
    500: '#cd9efb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9efb;
$custom-light: #ddbbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9efb",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 270.323,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77675,
    "c": 0.13744,
    "h": 306.7
  },
  "luminance": 0.44398
}

Semantic roles & 50–950 ramp

primary
#CD9EFB
secondary
#E5F6D5
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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