#CF89FB#CF89FB

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

Color values

HEX#CF89FB
RGBrgb(207, 137, 251)
HSLhsl(277, 93%, 76%)
HSVhsv(277, 45%, 98%)
CMYKcmyk(17.5%, 45.4%, 0%, 1.6%)
CIE-LABlab(68.11, 46.62, -46.67)
CIE-LCHlch(68.11, 65.97, 314.97°)
OKLaboklab(74.42% 0.1135 -0.1298)
OKLCHoklch(74.42% 0.172 311.1)
XYZxyz(52.0873, 38.1227, 95.8626)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89FB #B5FB89
analogous
#9689FB #CF89FB #FB89EE
triadic
#CF89FB #FBCF89 #89FBCF
tetradic
#CF89FB #FB9689 #B5FB89 #89EEFB
square
#CF89FB #FB9689 #B5FB89 #89EEFB
split-complementary
#CF89FB #EEFB89 #89FB96
monochromatic
#9F13F7 #B74EF9 #CF89FB #E7C4FD #F3E1FE

Accessibility & contrast

On white

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

On black

8.62
#CF89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89FB
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89FB#FFFFFF#000000##000000
##CF89FB1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#CA9BB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf89fb;
/* rgb */ color: rgb(207, 137, 251);
/* oklch */ color: oklch(74.4% 0.172 311.1);
Tailwind
colors: {
  custom: {
    50: '#e0adfd',
    500: '#cf89fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf89fb;
$custom-light: #e0adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89fb",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 276.842,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74422,
    "c": 0.17244,
    "h": 311.1
  },
  "luminance": 0.38122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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