#CF89EF#CF89EF

#CF89EF is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.8% C 0.159 H 314.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CF89EF
RGBrgb(207, 137, 239)
HSLhsl(281, 76%, 74%)
HSVhsv(281, 43%, 94%)
CMYKcmyk(13.4%, 42.7%, 0%, 6.3%)
CIE-LABlab(67.57, 44.10, -40.94)
CIE-LCHlch(67.57, 60.18, 317.13°)
OKLaboklab(73.84% 0.1116 -0.1133)
OKLCHoklch(73.84% 0.159 314.6)
XYZxyz(50.2553, 37.3899, 86.2142)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89EF #A9EF89
analogous
#9C89EF #CF89EF #EF89DC
triadic
#CF89EF #EFCF89 #89EFCF
tetradic
#CF89EF #EF9C89 #A9EF89 #89DCEF
square
#CF89EF #EF9C89 #A9EF89 #89DCEF
split-complementary
#CF89EF #DCEF89 #89EF9C
monochromatic
#A31EDF #B953E8 #CF89EF #E5BFF6 #F4E4FB

Accessibility & contrast

On white

2.48
#CF89EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CF89EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89EF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89EF#FFFFFF#000000##000000
##CF89EF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#88A7EC
Tritanopia (blue-blind)
#CD97B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf89ef;
/* rgb */ color: rgb(207, 137, 239);
/* oklch */ color: oklch(73.8% 0.159 314.6);
Tailwind
colors: {
  custom: {
    50: '#dfadf4',
    500: '#cf89ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf89ef;
$custom-light: #dfadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89ef",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 281.176,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73839,
    "c": 0.15901,
    "h": 314.6
  },
  "luminance": 0.37389
}

Semantic roles & 50–950 ramp

primary
#CF89EF
secondary
#E0F3D8
accent
#D80D4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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