#CD89E1#CD89E1

#CD89E1 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.0% C 0.143 H 318.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CD89E1
RGBrgb(205, 137, 225)
HSLhsl(286, 59%, 71%)
HSVhsv(286, 39%, 88%)
CMYKcmyk(8.9%, 39.1%, 0%, 11.8%)
CIE-LABlab(66.75, 40.67, -34.51)
CIE-LCHlch(66.75, 53.34, 319.69°)
OKLaboklab(72.98% 0.1066 -0.0949)
OKLCHoklch(72.98% 0.143 318.3)
XYZxyz(47.7112, 36.3081, 75.7144)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89E1 #9DE189
analogous
#A189E1 #CD89E1 #E189C9
triadic
#CD89E1 #E1CD89 #89E1CD
tetradic
#CD89E1 #E1A189 #9DE189 #89C9E1
square
#CD89E1 #E1A189 #9DE189 #89C9E1
split-complementary
#CD89E1 #C9E189 #89E1A1
monochromatic
#9F31BF #B858D5 #CD89E1 #E2BAED #F5E7F9

Accessibility & contrast

On white

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

On black

8.26
#CD89E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89E1
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89E1#FFFFFF#000000##000000
##CD89E11.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd89e1;
/* rgb */ color: rgb(205, 137, 225);
/* oklch */ color: oklch(73.0% 0.143 318.3);
Tailwind
colors: {
  custom: {
    50: '#ddacea',
    500: '#cd89e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd89e1;
$custom-light: #ddacea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89e1",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 225
  },
  "hsl": {
    "h": 286.364,
    "s": 59.459,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72983,
    "c": 0.14268,
    "h": 318.3
  },
  "luminance": 0.36307
}

Semantic roles & 50–950 ramp

primary
#CD89E1
secondary
#DDEFD7
accent
#C71E45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD89E1

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

Preview Lab → · Contrast checker → · Palette generator →

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