#CF89EC#CF89EC

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

Color values

HEX#CF89EC
RGBrgb(207, 137, 236)
HSLhsl(282, 72%, 73%)
HSVhsv(282, 42%, 93%)
CMYKcmyk(12.3%, 41.9%, 0%, 7.5%)
CIE-LABlab(67.44, 43.49, -39.50)
CIE-LCHlch(67.44, 58.75, 317.75°)
OKLaboklab(73.7% 0.111 -0.1091)
OKLCHoklch(73.7% 0.156 315.5)
XYZxyz(49.8158, 37.2141, 83.8995)
Luminance0.3721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89EC #A6EC89
analogous
#9D89EC #CF89EC #EC89D8
triadic
#CF89EC #ECCF89 #89ECCF
tetradic
#CF89EC #EC9D89 #A6EC89 #89D8EC
square
#CF89EC #EC9D89 #A6EC89 #89D8EC
split-complementary
#CF89EC #D8EC89 #89EC9D
monochromatic
#A323D8 #BA54E4 #CF89EC #E4BEF4 #F4E5FB

Accessibility & contrast

On white

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

On black

8.44
#CF89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89EC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89EC#FFFFFF#000000##000000
##CF89EC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#CE97AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf89ec;
/* rgb */ color: rgb(207, 137, 236);
/* oklch */ color: oklch(73.7% 0.156 315.5);
Tailwind
colors: {
  custom: {
    50: '#dfadf2',
    500: '#cf89ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf89ec;
$custom-light: #dfadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89ec",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 282.424,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.1557,
    "h": 315.5
  },
  "luminance": 0.37213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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