#CF89E2#CF89E2

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

Color values

HEX#CF89E2
RGBrgb(207, 137, 226)
HSLhsl(287, 61%, 71%)
HSVhsv(287, 39%, 89%)
CMYKcmyk(8.4%, 39.4%, 0%, 11.4%)
CIE-LABlab(67.01, 41.47, -34.64)
CIE-LCHlch(67.01, 54.04, 320.13°)
OKLaboklab(73.24% 0.1091 -0.0952)
OKLCHoklch(73.24% 0.145 318.9)
XYZxyz(48.4034, 36.6492, 76.4610)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89E2 #9CE289
analogous
#A289E2 #CF89E2 #E289C8
triadic
#CF89E2 #E2CF89 #89E2CF
tetradic
#CF89E2 #E2A289 #9CE289 #89C8E2
square
#CF89E2 #E2A289 #9CE289 #89C8E2
split-complementary
#CF89E2 #C8E289 #89E2A2
monochromatic
#A22FC1 #BB58D6 #CF89E2 #E3BAEE #F5E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF89E2#FFFFFF#000000##000000
##CF89E21.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)
#7C9EE5
Deuteranopia (green-blind)
#8EA6DF
Tritanopia (blue-blind)
#D094AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf89e2;
/* rgb */ color: rgb(207, 137, 226);
/* oklch */ color: oklch(73.2% 0.145 318.9);
Tailwind
colors: {
  custom: {
    50: '#dfadeb',
    500: '#cf89e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf89e2;
$custom-light: #dfadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89e2",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 287.191,
    "s": 60.544,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7324,
    "c": 0.1448,
    "h": 318.9
  },
  "luminance": 0.36648
}

Semantic roles & 50–950 ramp

primary
#CF89E2
secondary
#DDEFD8
accent
#C81D42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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