#CD8EF9#CD8EF9

#CD8EF9 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.9% C 0.161 H 310.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CD8EF9
RGBrgb(205, 142, 249)
HSLhsl(275, 90%, 77%)
HSVhsv(275, 43%, 98%)
CMYKcmyk(17.7%, 43%, 0%, 2.4%)
CIE-LABlab(68.87, 42.97, -44.40)
CIE-LCHlch(68.87, 61.79, 314.07°)
OKLaboklab(74.91% 0.104 -0.1233)
OKLCHoklch(74.91% 0.161 310.1)
XYZxyz(51.9456, 39.1655, 94.4274)
Luminance0.3916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EF9 #BAF98E
analogous
#988EF9 #CD8EF9 #F98EF0
triadic
#CD8EF9 #F9CD8E #8EF9CD
tetradic
#CD8EF9 #F9988E #BAF98E #8EF0F9
square
#CD8EF9 #F9988E #BAF98E #8EF0F9
split-complementary
#CD8EF9 #F0F98E #8EF998
monochromatic
#9A1AF3 #B354F6 #CD8EF9 #E7C8FC #F2E2FD

Accessibility & contrast

On white

2.38
#CD8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CD8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EF9
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EF9#FFFFFF#000000##000000
##CD8EF91.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#87A9F6
Tritanopia (blue-blind)
#C89EB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8ef9;
/* rgb */ color: rgb(205, 142, 249);
/* oklch */ color: oklch(74.9% 0.161 310.1);
Tailwind
colors: {
  custom: {
    50: '#deb0fb',
    500: '#cd8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ef9;
$custom-light: #deb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ef9",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 275.327,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74914,
    "c": 0.16131,
    "h": 310.1
  },
  "luminance": 0.39165
}

Semantic roles & 50–950 ramp

primary
#CD8EF9
secondary
#E3F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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