#CD8CEE#CD8CEE

#CD8CEE is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.1% C 0.152 H 313.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CD8CEE
RGBrgb(205, 140, 238)
HSLhsl(280, 74%, 74%)
HSVhsv(280, 41%, 93%)
CMYKcmyk(13.9%, 41.2%, 0%, 6.7%)
CIE-LABlab(67.95, 41.72, -39.81)
CIE-LCHlch(67.95, 57.66, 316.34°)
OKLaboklab(74.07% 0.1048 -0.1101)
OKLCHoklch(74.07% 0.152 313.6)
XYZxyz(49.9850, 37.9094, 85.5564)
Luminance0.3791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CEE #ADEE8C
analogous
#9C8CEE #CD8CEE #EE8CDE
triadic
#CD8CEE #EECD8C #8CEECD
tetradic
#CD8CEE #EE9C8C #ADEE8C #8CDEEE
square
#CD8CEE #EE9C8C #ADEE8C #8CDEEE
split-complementary
#CD8CEE #DEEE8C #8CEE9C
monochromatic
#9F21DE #B657E6 #CD8CEE #E4C1F6 #F3E4FB

Accessibility & contrast

On white

2.45
#CD8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CD8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CEE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CEE#FFFFFF#000000##000000
##CD8CEE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#CA9AB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8cee;
/* rgb */ color: rgb(205, 140, 238);
/* oklch */ color: oklch(74.1% 0.152 313.6);
Tailwind
colors: {
  custom: {
    50: '#deaff4',
    500: '#cd8cee',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cee;
$custom-light: #deaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cee",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 279.796,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74066,
    "c": 0.15203,
    "h": 313.6
  },
  "luminance": 0.37908
}

Semantic roles & 50–950 ramp

primary
#CD8CEE
secondary
#E1F3D8
accent
#D60F52
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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