#CD88EB#CD88EB

#CD88EB is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.3% C 0.155 H 315.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CD88EB
RGBrgb(205, 136, 235)
HSLhsl(282, 71%, 73%)
HSVhsv(282, 42%, 92%)
CMYKcmyk(12.8%, 42.1%, 0%, 7.8%)
CIE-LABlab(66.97, 43.24, -39.70)
CIE-LCHlch(66.97, 58.70, 317.44°)
OKLaboklab(73.28% 0.1099 -0.1098)
OKLCHoklch(73.28% 0.155 315)
XYZxyz(48.9741, 36.5868, 83.0633)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88EB #A6EB88
analogous
#9B88EB #CD88EB #EB88D8
triadic
#CD88EB #EBCD88 #88EBCD
tetradic
#CD88EB #EB9B88 #A6EB88 #88D8EB
square
#CD88EB #EB9B88 #A6EB88 #88D8EB
split-complementary
#CD88EB #D8EB88 #88EB9B
monochromatic
#9F24D5 #B754E2 #CD88EB #E3BCF4 #F4E5FB

Accessibility & contrast

On white

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

On black

8.32
#CD88EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD88EB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD88EB#FFFFFF#000000##000000
##CD88EB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#CB96AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd88eb;
/* rgb */ color: rgb(205, 136, 235);
/* oklch */ color: oklch(73.3% 0.155 315.0);
Tailwind
colors: {
  custom: {
    50: '#deacf2',
    500: '#cd88eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd88eb;
$custom-light: #deacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88eb",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 281.818,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73282,
    "c": 0.15536,
    "h": 315
  },
  "luminance": 0.36586
}

Semantic roles & 50–950 ramp

primary
#CD88EB
secondary
#E0F2D9
accent
#D3124D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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