#CF89FF#CF89FF

#CF89FF is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.6% C 0.177 H 310.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CF89FF
RGBrgb(207, 137, 255)
HSLhsl(276, 100%, 77%)
HSVhsv(276, 46%, 100%)
CMYKcmyk(18.8%, 46.3%, 0%, 0%)
CIE-LABlab(68.30, 47.48, -48.56)
CIE-LCHlch(68.30, 67.91, 314.36°)
OKLaboklab(74.62% 0.114 -0.1353)
OKLCHoklch(74.62% 0.177 310.1)
XYZxyz(52.7245, 38.3776, 99.2185)
Luminance0.3838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89FF #B9FF89
analogous
#9489FF #CF89FF #FF89F4
triadic
#CF89FF #FFCF89 #89FFCF
tetradic
#CF89FF #FF9489 #B9FF89 #89F4FF
square
#CF89FF #FF9489 #B9FF89 #89F4FF
split-complementary
#CF89FF #F4FF89 #89FF94
monochromatic
#9D0FFF #B64CFF #CF89FF #E8C6FF #F3E0FF

Accessibility & contrast

On white

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

On black

8.68
#CF89FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89FF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89FF#FFFFFF#000000##000000
##CF89FF1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#80A8FC
Tritanopia (blue-blind)
#C99CB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf89ff;
/* rgb */ color: rgb(207, 137, 255);
/* oklch */ color: oklch(74.6% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#e0adff',
    500: '#cf89ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf89ff;
$custom-light: #e0adff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89ff",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 275.593,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74623,
    "c": 0.17695,
    "h": 310.1
  },
  "luminance": 0.38377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF89FF

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

Preview Lab → · Contrast checker → · Palette generator →

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