#CF89FE#CF89FE

#CF89FE is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.6% C 0.176 H 310.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CF89FE
RGBrgb(207, 137, 254)
HSLhsl(276, 98%, 77%)
HSVhsv(276, 46%, 100%)
CMYKcmyk(18.5%, 46.1%, 0%, 0.4%)
CIE-LABlab(68.25, 47.26, -48.09)
CIE-LCHlch(68.25, 67.42, 314.50°)
OKLaboklab(74.57% 0.1139 -0.134)
OKLCHoklch(74.57% 0.176 310.4)
XYZxyz(52.5639, 38.3134, 98.3729)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89FE #B8FE89
analogous
#9589FE #CF89FE #FE89F3
triadic
#CF89FE #FECF89 #89FECF
tetradic
#CF89FE #FE9589 #B8FE89 #89F3FE
square
#CF89FE #FE9589 #B8FE89 #89F3FE
split-complementary
#CF89FE #F3FE89 #89FE95
monochromatic
#9E10FD #B64CFD #CF89FE #E8C6FF #F3E1FF

Accessibility & contrast

On white

2.42
#CF89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CF89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89FE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89FE#FFFFFF#000000##000000
##CF89FE1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#81A8FB
Tritanopia (blue-blind)
#C99CB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf89fe;
/* rgb */ color: rgb(207, 137, 254);
/* oklch */ color: oklch(74.6% 0.176 310.4);
Tailwind
colors: {
  custom: {
    50: '#e0adff',
    500: '#cf89fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf89fe;
$custom-light: #e0adff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89fe",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 275.897,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74572,
    "c": 0.17582,
    "h": 310.4
  },
  "luminance": 0.38312
}

Semantic roles & 50–950 ramp

primary
#CF89FE
secondary
#E2F7D4
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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