#CD89E5#CD89E5

#CD89E5 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.2% C 0.147 H 316.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CD89E5
RGBrgb(205, 137, 229)
HSLhsl(284, 64%, 72%)
HSVhsv(284, 40%, 90%)
CMYKcmyk(10.5%, 40.2%, 0%, 10.2%)
CIE-LABlab(66.92, 41.48, -36.46)
CIE-LCHlch(66.92, 55.22, 318.68°)
OKLaboklab(73.16% 0.1074 -0.1005)
OKLCHoklch(73.16% 0.147 316.9)
XYZxyz(48.2633, 36.5289, 78.6219)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89E5 #A1E589
analogous
#9F89E5 #CD89E5 #E589CF
triadic
#CD89E5 #E5CD89 #89E5CD
tetradic
#CD89E5 #E59F89 #A1E589 #89CFE5
square
#CD89E5 #E59F89 #A1E589 #89CFE5
split-complementary
#CD89E5 #CFE589 #89E59F
monochromatic
#9F2CC8 #B857DA #CD89E5 #E2BBF0 #F4E6F9

Accessibility & contrast

On white

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

On black

8.31
#CD89E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89E5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89E5#FFFFFF#000000##000000
##CD89E51.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd89e5;
/* rgb */ color: rgb(205, 137, 229);
/* oklch */ color: oklch(73.2% 0.147 316.9);
Tailwind
colors: {
  custom: {
    50: '#ddaded',
    500: '#cd89e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd89e5;
$custom-light: #ddaded;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89e5",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 284.348,
    "s": 63.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73164,
    "c": 0.14705,
    "h": 316.9
  },
  "luminance": 0.36528
}

Semantic roles & 50–950 ramp

primary
#CD89E5
secondary
#DFF1D9
accent
#CC1A48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD89E5

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

Preview Lab → · Contrast checker → · Palette generator →

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