#CD89E2#CD89E2

#CD89E2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.0% C 0.144 H 318.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CD89E2
RGBrgb(205, 137, 226)
HSLhsl(286, 61%, 71%)
HSVhsv(286, 39%, 89%)
CMYKcmyk(9.3%, 39.4%, 0%, 11.4%)
CIE-LABlab(66.80, 40.87, -35.00)
CIE-LCHlch(66.80, 53.81, 319.43°)
OKLaboklab(73.03% 0.1068 -0.0963)
OKLCHoklch(73.03% 0.144 318)
XYZxyz(47.8481, 36.3628, 76.4350)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89E2 #9EE289
analogous
#A089E2 #CD89E2 #E289CA
triadic
#CD89E2 #E2CD89 #89E2CD
tetradic
#CD89E2 #E2A089 #9EE289 #89CAE2
square
#CD89E2 #E2A089 #9EE289 #89CAE2
split-complementary
#CD89E2 #CAE289 #89E2A0
monochromatic
#9F2FC1 #B858D6 #CD89E2 #E2BAEE #F5E6F9

Accessibility & contrast

On white

2.54
#CD89E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CD89E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89E2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89E2#FFFFFF#000000##000000
##CD89E21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#8DA5DF
Tritanopia (blue-blind)
#CD94AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd89e2;
/* rgb */ color: rgb(205, 137, 226);
/* oklch */ color: oklch(73.0% 0.144 318.0);
Tailwind
colors: {
  custom: {
    50: '#ddaceb',
    500: '#cd89e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd89e2;
$custom-light: #ddaceb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89e2",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 285.843,
    "s": 60.544,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73028,
    "c": 0.14377,
    "h": 318
  },
  "luminance": 0.36361
}

Semantic roles & 50–950 ramp

primary
#CD89E2
secondary
#DDEFD8
accent
#C81D46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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