#CD89E7#CD89E7

#CD89E7 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.3% C 0.149 H 316.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CD89E7
RGBrgb(205, 137, 231)
HSLhsl(283, 66%, 72%)
HSVhsv(283, 41%, 91%)
CMYKcmyk(11.3%, 40.7%, 0%, 9.4%)
CIE-LABlab(67.01, 41.88, -37.43)
CIE-LCHlch(67.01, 56.17, 318.21°)
OKLaboklab(73.26% 0.1078 -0.1032)
OKLCHoklch(73.26% 0.149 316.2)
XYZxyz(48.5442, 36.6412, 80.1011)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89E7 #A3E789
analogous
#9E89E7 #CD89E7 #E789D2
triadic
#CD89E7 #E7CD89 #89E7CD
tetradic
#CD89E7 #E79E89 #A3E789 #89D2E7
square
#CD89E7 #E79E89 #A3E789 #89D2E7
split-complementary
#CD89E7 #D2E789 #89E79E
monochromatic
#9F2ACC #B756DD #CD89E7 #E3BCF1 #F4E6FA

Accessibility & contrast

On white

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

On black

8.33
#CD89E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89E7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89E7#FFFFFF#000000##000000
##CD89E71.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEA
Deuteranopia (green-blind)
#8BA5E4
Tritanopia (blue-blind)
#CC96AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd89e7;
/* rgb */ color: rgb(205, 137, 231);
/* oklch */ color: oklch(73.3% 0.149 316.2);
Tailwind
colors: {
  custom: {
    50: '#deadef',
    500: '#cd89e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd89e7;
$custom-light: #deadef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89e7",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 283.404,
    "s": 66.197,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.14925,
    "h": 316.2
  },
  "luminance": 0.3664
}

Semantic roles & 50–950 ramp

primary
#CD89E7
secondary
#E0F1DA
accent
#CE174A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD89E7

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

Preview Lab → · Contrast checker → · Palette generator →

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