#CF89FD#CF89FD

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

Color values

HEX#CF89FD
RGBrgb(207, 137, 253)
HSLhsl(276, 97%, 76%)
HSVhsv(276, 46%, 99%)
CMYKcmyk(18.2%, 45.8%, 0%, 0.8%)
CIE-LABlab(68.20, 47.05, -47.61)
CIE-LCHlch(68.20, 66.94, 314.66°)
OKLaboklab(74.52% 0.1137 -0.1326)
OKLCHoklch(74.52% 0.175 310.6)
XYZxyz(52.4042, 38.2495, 97.5317)
Luminance0.3825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89FD #B7FD89
analogous
#9589FD #CF89FD #FD89F1
triadic
#CF89FD #FDCF89 #89FDCF
tetradic
#CF89FD #FD9589 #B7FD89 #89F1FD
square
#CF89FD #FD9589 #B7FD89 #89F1FD
split-complementary
#CF89FD #F1FD89 #89FD95
monochromatic
#9E11FB #B74DFC #CF89FD #E7C5FE #F3E1FE

Accessibility & contrast

On white

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

On black

8.65
#CF89FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89FD
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89FD#FFFFFF#000000##000000
##CF89FD1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf89fd;
/* rgb */ color: rgb(207, 137, 253);
/* oklch */ color: oklch(74.5% 0.175 310.6);
Tailwind
colors: {
  custom: {
    50: '#e0adfe',
    500: '#cf89fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf89fd;
$custom-light: #e0adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89fd",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 276.207,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74522,
    "c": 0.17469,
    "h": 310.6
  },
  "luminance": 0.38249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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