#CD89E8#CD89E8

#CD89E8 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.3% C 0.150 H 315.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CD89E8
RGBrgb(205, 137, 232)
HSLhsl(283, 67%, 72%)
HSVhsv(283, 41%, 91%)
CMYKcmyk(11.6%, 40.9%, 0%, 9%)
CIE-LABlab(67.05, 42.09, -37.92)
CIE-LCHlch(67.05, 56.65, 317.98°)
OKLaboklab(73.3% 0.108 -0.1046)
OKLCHoklch(73.3% 0.15 315.9)
XYZxyz(48.6858, 36.6979, 80.8470)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89E8 #A4E889
analogous
#9D89E8 #CD89E8 #E889D4
triadic
#CD89E8 #E8CD89 #89E8CD
tetradic
#CD89E8 #E89D89 #A4E889 #89D4E8
square
#CD89E8 #E89D89 #A4E889 #89D4E8
split-complementary
#CD89E8 #D4E889 #89E89D
monochromatic
#9F28CE #B756DE #CD89E8 #E3BCF2 #F4E5FA

Accessibility & contrast

On white

2.52
#CD89E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CD89E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89E8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89E8#FFFFFF#000000##000000
##CD89E81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEB
Deuteranopia (green-blind)
#8AA5E5
Tritanopia (blue-blind)
#CC96AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd89e8;
/* rgb */ color: rgb(205, 137, 232);
/* oklch */ color: oklch(73.3% 0.150 315.9);
Tailwind
colors: {
  custom: {
    50: '#deadef',
    500: '#cd89e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd89e8;
$custom-light: #deadef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89e8",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 232
  },
  "hsl": {
    "h": 282.947,
    "s": 67.376,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73302,
    "c": 0.15035,
    "h": 315.9
  },
  "luminance": 0.36697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89E8

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

Preview Lab → · Contrast checker → · Palette generator →

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