#CD89ED#CD89ED

#CD89ED is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.5% C 0.156 H 314.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CD89ED
RGBrgb(205, 137, 237)
HSLhsl(281, 74%, 73%)
HSVhsv(281, 42%, 93%)
CMYKcmyk(13.5%, 42.2%, 0%, 7.1%)
CIE-LABlab(67.27, 43.12, -40.33)
CIE-LCHlch(67.27, 59.04, 316.91°)
OKLaboklab(73.54% 0.1089 -0.1116)
OKLCHoklch(73.54% 0.156 314.3)
XYZxyz(49.4061, 36.9860, 84.6407)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89ED #A9ED89
analogous
#9B89ED #CD89ED #ED89DB
triadic
#CD89ED #EDCD89 #89EDCD
tetradic
#CD89ED #ED9B89 #A9ED89 #89DBED
square
#CD89ED #ED9B89 #A9ED89 #89DBED
split-complementary
#CD89ED #DBED89 #89ED9B
monochromatic
#9F21DA #B654E5 #CD89ED #E3BEF5 #F4E4FB

Accessibility & contrast

On white

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

On black

8.40
#CD89ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89ED
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89ED#FFFFFF#000000##000000
##CD89ED1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F1
Deuteranopia (green-blind)
#88A6EA
Tritanopia (blue-blind)
#CB97B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd89ed;
/* rgb */ color: rgb(205, 137, 237);
/* oklch */ color: oklch(73.5% 0.156 314.3);
Tailwind
colors: {
  custom: {
    50: '#deadf3',
    500: '#cd89ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd89ed;
$custom-light: #deadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89ed",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 280.8,
    "s": 73.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73536,
    "c": 0.15591,
    "h": 314.3
  },
  "luminance": 0.36985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89ED

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

Preview Lab → · Contrast checker → · Palette generator →

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