#CD8DF9#CD8DF9

#CD8DF9 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.8% C 0.163 H 310.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CD8DF9
RGBrgb(205, 141, 249)
HSLhsl(276, 90%, 76%)
HSVhsv(276, 43%, 98%)
CMYKcmyk(17.7%, 43.4%, 0%, 2.4%)
CIE-LABlab(68.66, 43.51, -44.73)
CIE-LCHlch(68.66, 62.40, 314.20°)
OKLaboklab(74.75% 0.1054 -0.1243)
OKLCHoklch(74.75% 0.163 310.3)
XYZxyz(51.7975, 38.8693, 94.3780)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DF9 #B9F98D
analogous
#978DF9 #CD8DF9 #F98DEF
triadic
#CD8DF9 #F9CD8D #8DF9CD
tetradic
#CD8DF9 #F9978D #B9F98D #8DEFF9
square
#CD8DF9 #F9978D #B9F98D #8DEFF9
split-complementary
#CD8DF9 #EFF98D #8DF997
monochromatic
#9A19F3 #B453F6 #CD8DF9 #E7C7FC #F2E2FD

Accessibility & contrast

On white

2.39
#CD8DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CD8DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DF9
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DF9#FFFFFF#000000##000000
##CD8DF91.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FD
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#C89EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8df9;
/* rgb */ color: rgb(205, 141, 249);
/* oklch */ color: oklch(74.8% 0.163 310.3);
Tailwind
colors: {
  custom: {
    50: '#deaffb',
    500: '#cd8df9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8df9;
$custom-light: #deaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8df9",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 275.556,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74753,
    "c": 0.16295,
    "h": 310.3
  },
  "luminance": 0.38868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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