#CF89DC#CF89DC

#CF89DC is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.0% C 0.138 H 321.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CF89DC
RGBrgb(207, 137, 220)
HSLhsl(291, 54%, 70%)
HSVhsv(291, 38%, 86%)
CMYKcmyk(5.9%, 37.7%, 0%, 13.7%)
CIE-LABlab(66.77, 40.29, -31.70)
CIE-LCHlch(66.77, 51.27, 321.80°)
OKLaboklab(72.97% 0.1078 -0.0868)
OKLCHoklch(72.97% 0.138 321.1)
XYZxyz(47.5945, 36.3256, 72.2007)
Luminance0.3632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89DC #96DC89
analogous
#A589DC #CF89DC #DC89C0
triadic
#CF89DC #DCCF89 #89DCCF
tetradic
#CF89DC #DCA589 #96DC89 #89C0DC
square
#CF89DC #DCA589 #96DC89 #89C0DC
split-complementary
#CF89DC #C0DC89 #89DCA5
monochromatic
#A136B5 #BC5ACE #CF89DC #E2B8EA #F5E7F8

Accessibility & contrast

On white

2.54
#CF89DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CF89DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89DC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89DC#FFFFFF#000000##000000
##CF89DC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDF
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#D192A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf89dc;
/* rgb */ color: rgb(207, 137, 220);
/* oklch */ color: oklch(73.0% 0.138 321.1);
Tailwind
colors: {
  custom: {
    50: '#dface7',
    500: '#cf89dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf89dc;
$custom-light: #dface7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89dc",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 290.602,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.72975,
    "c": 0.13842,
    "h": 321.1
  },
  "luminance": 0.36324
}

Semantic roles & 50–950 ramp

primary
#CF89DC
secondary
#D8ECD5
accent
#C2243D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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