#CD89EC#CD89EC

#CD89EC is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.5% C 0.155 H 314.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CD89EC
RGBrgb(205, 137, 236)
HSLhsl(281, 72%, 73%)
HSVhsv(281, 42%, 93%)
CMYKcmyk(13.1%, 41.9%, 0%, 7.5%)
CIE-LABlab(67.22, 42.91, -39.85)
CIE-LCHlch(67.22, 58.56, 317.12°)
OKLaboklab(73.49% 0.1087 -0.1102)
OKLCHoklch(73.49% 0.155 314.6)
XYZxyz(49.2604, 36.9277, 83.8734)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89EC #A8EC89
analogous
#9B89EC #CD89EC #EC89D9
triadic
#CD89EC #ECCD89 #89ECCD
tetradic
#CD89EC #EC9B89 #A8EC89 #89D9EC
square
#CD89EC #EC9B89 #A8EC89 #89D9EC
split-complementary
#CD89EC #D9EC89 #89EC9B
monochromatic
#9F23D8 #B754E4 #CD89EC #E3BEF4 #F4E5FB

Accessibility & contrast

On white

2.50
#CD89EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CD89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89EC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89EC#FFFFFF#000000##000000
##CD89EC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#CB97AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd89ec;
/* rgb */ color: rgb(205, 137, 236);
/* oklch */ color: oklch(73.5% 0.155 314.6);
Tailwind
colors: {
  custom: {
    50: '#deadf2',
    500: '#cd89ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd89ec;
$custom-light: #deadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89ec",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 281.212,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73489,
    "c": 0.15479,
    "h": 314.6
  },
  "luminance": 0.36927
}

Semantic roles & 50–950 ramp

primary
#CD89EC
secondary
#E1F2D9
accent
#D4114E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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