#CD88ED#CD88ED

#CD88ED is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.4% C 0.158 H 314.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CD88ED
RGBrgb(205, 136, 237)
HSLhsl(281, 74%, 73%)
HSVhsv(281, 43%, 93%)
CMYKcmyk(13.5%, 42.6%, 0%, 7.1%)
CIE-LABlab(67.05, 43.65, -40.66)
CIE-LCHlch(67.05, 59.66, 317.03°)
OKLaboklab(73.38% 0.1103 -0.1125)
OKLCHoklch(73.38% 0.158 314.4)
XYZxyz(49.2646, 36.7030, 84.5936)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88ED #A8ED88
analogous
#9A88ED #CD88ED #ED88DA
triadic
#CD88ED #EDCD88 #88EDCD
tetradic
#CD88ED #ED9A88 #A8ED88 #88DAED
square
#CD88ED #ED9A88 #A8ED88 #88DAED
split-complementary
#CD88ED #DAED88 #88ED9A
monochromatic
#9F21DA #B753E5 #CD88ED #E3BDF5 #F4E4FB

Accessibility & contrast

On white

2.52
#CD88ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CD88ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD88ED
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD88ED#FFFFFF#000000##000000
##CD88ED1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF1
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#CB96AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd88ed;
/* rgb */ color: rgb(205, 136, 237);
/* oklch */ color: oklch(73.4% 0.158 314.4);
Tailwind
colors: {
  custom: {
    50: '#deacf3',
    500: '#cd88ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd88ed;
$custom-light: #deacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88ed",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 237
  },
  "hsl": {
    "h": 280.99,
    "s": 73.723,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73376,
    "c": 0.15757,
    "h": 314.4
  },
  "luminance": 0.36702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD88ED

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

Preview Lab → · Contrast checker → · Palette generator →

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