#CF89FA#CF89FA

#CF89FA is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.4% C 0.171 H 311.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CF89FA
RGBrgb(207, 137, 250)
HSLhsl(277, 92%, 76%)
HSVhsv(277, 45%, 98%)
CMYKcmyk(17.2%, 45.2%, 0%, 2%)
CIE-LABlab(68.06, 46.41, -46.19)
CIE-LCHlch(68.06, 65.48, 315.13°)
OKLaboklab(74.37% 0.1133 -0.1285)
OKLCHoklch(74.37% 0.171 311.4)
XYZxyz(51.9301, 38.0598, 95.0346)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89FA #B4FA89
analogous
#9689FA #CF89FA #FA89ED
triadic
#CF89FA #FACF89 #89FACF
tetradic
#CF89FA #FA9689 #B4FA89 #89EDFA
square
#CF89FA #FA9689 #B4FA89 #89EDFA
split-complementary
#CF89FA #EDFA89 #89FA96
monochromatic
#9F14F5 #B74EF8 #CF89FA #E7C4FC #F3E2FE

Accessibility & contrast

On white

2.44
#CF89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CF89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89FA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89FA#FFFFFF#000000##000000
##CF89FA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#CA9AB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf89fa;
/* rgb */ color: rgb(207, 137, 250);
/* oklch */ color: oklch(74.4% 0.171 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfadfc',
    500: '#cf89fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf89fa;
$custom-light: #dfadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89fa",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 277.168,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74373,
    "c": 0.17131,
    "h": 311.4
  },
  "luminance": 0.38059
}

Semantic roles & 50–950 ramp

primary
#CF89FA
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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