#CD89EF#CD89EF

#CD89EF is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.6% C 0.158 H 313.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CD89EF
RGBrgb(205, 137, 239)
HSLhsl(280, 76%, 74%)
HSVhsv(280, 43%, 94%)
CMYKcmyk(14.2%, 42.7%, 0%, 6.3%)
CIE-LABlab(67.35, 43.53, -41.29)
CIE-LCHlch(67.35, 60.00, 316.51°)
OKLaboklab(73.63% 0.1092 -0.1144)
OKLCHoklch(73.63% 0.158 313.7)
XYZxyz(49.6999, 37.1035, 86.1882)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89EF #ABEF89
analogous
#9A89EF #CD89EF #EF89DE
triadic
#CD89EF #EFCD89 #89EFCD
tetradic
#CD89EF #EF9A89 #ABEF89 #89DEEF
square
#CD89EF #EF9A89 #ABEF89 #89DEEF
split-complementary
#CD89EF #DEEF89 #89EF9A
monochromatic
#9F1EDF #B653E8 #CD89EF #E4BFF6 #F4E4FB

Accessibility & contrast

On white

2.49
#CD89EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CD89EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89EF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89EF#FFFFFF#000000##000000
##CD89EF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#CA98B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd89ef;
/* rgb */ color: rgb(205, 137, 239);
/* oklch */ color: oklch(73.6% 0.158 313.7);
Tailwind
colors: {
  custom: {
    50: '#deadf4',
    500: '#cd89ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd89ef;
$custom-light: #deadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89ef",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 280,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73631,
    "c": 0.15814,
    "h": 313.7
  },
  "luminance": 0.37102
}

Semantic roles & 50–950 ramp

primary
#CD89EF
secondary
#E1F3D8
accent
#D80D51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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