#CF89FC#CF89FC

#CF89FC is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.5% C 0.174 H 310.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CF89FC
RGBrgb(207, 137, 252)
HSLhsl(277, 95%, 76%)
HSVhsv(277, 46%, 99%)
CMYKcmyk(17.9%, 45.6%, 0%, 1.2%)
CIE-LABlab(68.16, 46.83, -47.14)
CIE-LCHlch(68.16, 66.45, 314.81°)
OKLaboklab(74.47% 0.1136 -0.1312)
OKLCHoklch(74.47% 0.174 310.9)
XYZxyz(52.2453, 38.1859, 96.6950)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89FC #B6FC89
analogous
#9689FC #CF89FC #FC89EF
triadic
#CF89FC #FCCF89 #89FCCF
tetradic
#CF89FC #FC9689 #B6FC89 #89EFFC
square
#CF89FC #FC9689 #B6FC89 #89EFFC
split-complementary
#CF89FC #EFFC89 #89FC96
monochromatic
#9E12F9 #B74DFA #CF89FC #E7C5FE #F3E1FE

Accessibility & contrast

On white

2.43
#CF89FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CF89FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89FC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89FC#FFFFFF#000000##000000
##CF89FC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#CA9BB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf89fc;
/* rgb */ color: rgb(207, 137, 252);
/* oklch */ color: oklch(74.5% 0.174 310.9);
Tailwind
colors: {
  custom: {
    50: '#e0adfe',
    500: '#cf89fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf89fc;
$custom-light: #e0adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89fc",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 276.522,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74472,
    "c": 0.17356,
    "h": 310.9
  },
  "luminance": 0.38185
}

Semantic roles & 50–950 ramp

primary
#CF89FC
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF89FC

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

Preview Lab → · Contrast checker → · Palette generator →

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