#CD89E4#CD89E4

#CD89E4 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.1% C 0.146 H 317.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CD89E4
RGBrgb(205, 137, 228)
HSLhsl(285, 63%, 72%)
HSVhsv(285, 40%, 89%)
CMYKcmyk(10.1%, 39.9%, 0%, 10.6%)
CIE-LABlab(66.88, 41.27, -35.97)
CIE-LCHlch(66.88, 54.75, 318.93°)
OKLaboklab(73.12% 0.1072 -0.0991)
OKLCHoklch(73.12% 0.146 317.3)
XYZxyz(48.1241, 36.4732, 77.8887)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89E4 #A0E489
analogous
#A089E4 #CD89E4 #E489CE
triadic
#CD89E4 #E4CD89 #89E4CD
tetradic
#CD89E4 #E4A089 #A0E489 #89CEE4
square
#CD89E4 #E4A089 #A0E489 #89CEE4
split-complementary
#CD89E4 #CEE489 #89E4A0
monochromatic
#9F2DC5 #B857D9 #CD89E4 #E2BBEF #F4E6F9

Accessibility & contrast

On white

2.53
#CD89E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CD89E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89E4
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89E4#FFFFFF#000000##000000
##CD89E41.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE7
Deuteranopia (green-blind)
#8CA5E1
Tritanopia (blue-blind)
#CD95AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd89e4;
/* rgb */ color: rgb(205, 137, 228);
/* oklch */ color: oklch(73.1% 0.146 317.3);
Tailwind
colors: {
  custom: {
    50: '#ddaded',
    500: '#cd89e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd89e4;
$custom-light: #ddaded;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89e4",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 228
  },
  "hsl": {
    "h": 284.835,
    "s": 62.759,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73119,
    "c": 0.14595,
    "h": 317.3
  },
  "luminance": 0.36472
}

Semantic roles & 50–950 ramp

primary
#CD89E4
secondary
#DFF0D9
accent
#CB1B47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD89E4

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

Preview Lab → · Contrast checker → · Palette generator →

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