#CD89E9#CD89E9

#CD89E9 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.3% C 0.151 H 315.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CD89E9
RGBrgb(205, 137, 233)
HSLhsl(283, 69%, 73%)
HSVhsv(283, 41%, 91%)
CMYKcmyk(12%, 41.2%, 0%, 8.6%)
CIE-LABlab(67.09, 42.29, -38.40)
CIE-LCHlch(67.09, 57.12, 317.76°)
OKLaboklab(73.35% 0.1082 -0.106)
OKLCHoklch(73.35% 0.151 315.6)
XYZxyz(48.8282, 36.7549, 81.5972)
Luminance0.3675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89E9 #A5E989
analogous
#9D89E9 #CD89E9 #E989D5
triadic
#CD89E9 #E9CD89 #89E9CD
tetradic
#CD89E9 #E99D89 #A5E989 #89D5E9
square
#CD89E9 #E99D89 #A5E989 #89D5E9
split-complementary
#CD89E9 #D5E989 #89E99D
monochromatic
#9F27D1 #B755DF #CD89E9 #E3BDF3 #F4E5FA

Accessibility & contrast

On white

2.51
#CD89E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CD89E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89E9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89E9#FFFFFF#000000##000000
##CD89E91.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FEC
Deuteranopia (green-blind)
#8AA5E6
Tritanopia (blue-blind)
#CC96AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd89e9;
/* rgb */ color: rgb(205, 137, 233);
/* oklch */ color: oklch(73.3% 0.151 315.6);
Tailwind
colors: {
  custom: {
    50: '#deadf0',
    500: '#cd89e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd89e9;
$custom-light: #deadf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89e9",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 233
  },
  "hsl": {
    "h": 282.5,
    "s": 68.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73348,
    "c": 0.15146,
    "h": 315.6
  },
  "luminance": 0.36754
}

Semantic roles & 50–950 ramp

primary
#CD89E9
secondary
#E0F2D9
accent
#D1154C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD89E9

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

Preview Lab → · Contrast checker → · Palette generator →

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