#CF89E1#CF89E1

#CF89E1 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.2% C 0.144 H 319.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CF89E1
RGBrgb(207, 137, 225)
HSLhsl(288, 59%, 71%)
HSVhsv(288, 39%, 88%)
CMYKcmyk(8%, 39.1%, 0%, 11.8%)
CIE-LABlab(66.97, 41.27, -34.15)
CIE-LCHlch(66.97, 53.57, 320.39°)
OKLaboklab(73.19% 0.1089 -0.0938)
OKLCHoklch(73.19% 0.144 319.2)
XYZxyz(48.2666, 36.5944, 75.7405)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89E1 #9BE189
analogous
#A389E1 #CF89E1 #E189C7
triadic
#CF89E1 #E1CF89 #89E1CF
tetradic
#CF89E1 #E1A389 #9BE189 #89C7E1
square
#CF89E1 #E1A389 #9BE189 #89C7E1
split-complementary
#CF89E1 #C7E189 #89E1A3
monochromatic
#A231BF #BB58D5 #CF89E1 #E3BAED #F5E7F9

Accessibility & contrast

On white

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

On black

8.32
#CF89E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89E1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89E1#FFFFFF#000000##000000
##CF89E11.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9EE4
Deuteranopia (green-blind)
#8FA5DE
Tritanopia (blue-blind)
#D094AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf89e1;
/* rgb */ color: rgb(207, 137, 225);
/* oklch */ color: oklch(73.2% 0.144 319.2);
Tailwind
colors: {
  custom: {
    50: '#dfadea',
    500: '#cf89e1',
    950: '#000000',
  },
}
SCSS
$custom: #cf89e1;
$custom-light: #dfadea;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89e1",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 225
  },
  "hsl": {
    "h": 287.727,
    "s": 59.459,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73195,
    "c": 0.14372,
    "h": 319.2
  },
  "luminance": 0.36593
}

Semantic roles & 50–950 ramp

primary
#CF89E1
secondary
#DCEFD7
accent
#C71E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF89E1

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

Preview Lab → · Contrast checker → · Palette generator →

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