#CF89EB#CF89EB

#CF89EB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.7% C 0.155 H 315.8°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CF89EB
RGBrgb(207, 137, 235)
HSLhsl(283, 71%, 73%)
HSVhsv(283, 42%, 92%)
CMYKcmyk(11.9%, 41.7%, 0%, 7.8%)
CIE-LABlab(67.39, 43.28, -39.02)
CIE-LCHlch(67.39, 58.27, 317.97°)
OKLaboklab(73.65% 0.1109 -0.1078)
OKLCHoklch(73.65% 0.155 315.8)
XYZxyz(49.6709, 37.1562, 83.1364)
Luminance0.3715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89EB #A5EB89
analogous
#9E89EB #CF89EB #EB89D6
triadic
#CF89EB #EBCF89 #89EBCF
tetradic
#CF89EB #EB9E89 #A5EB89 #89D6EB
square
#CF89EB #EB9E89 #A5EB89 #89D6EB
split-complementary
#CF89EB #D6EB89 #89EB9E
monochromatic
#A324D5 #BA55E2 #CF89EB #E4BDF4 #F4E5FB

Accessibility & contrast

On white

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

On black

8.43
#CF89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89EB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89EB#FFFFFF#000000##000000
##CF89EB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#CE96AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf89eb;
/* rgb */ color: rgb(207, 137, 235);
/* oklch */ color: oklch(73.7% 0.155 315.8);
Tailwind
colors: {
  custom: {
    50: '#dfadf2',
    500: '#cf89eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf89eb;
$custom-light: #dfadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89eb",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 282.857,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73651,
    "c": 0.1546,
    "h": 315.8
  },
  "luminance": 0.37155
}

Semantic roles & 50–950 ramp

primary
#CF89EB
secondary
#E0F2D9
accent
#D31249
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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