#CF86FB#CF86FB

#CF86FB is a light, vivid violet. Relative luminance 0.373; OKLCH L 74.0% C 0.177 H 311.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CF86FB
RGBrgb(207, 134, 251)
HSLhsl(277, 94%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(17.5%, 46.6%, 0%, 1.6%)
CIE-LABlab(67.49, 48.20, -47.65)
CIE-LCHlch(67.49, 67.78, 315.33°)
OKLaboklab(73.96% 0.1175 -0.1327)
OKLCHoklch(73.96% 0.177 311.5)
XYZxyz(51.6667, 37.2816, 95.7224)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86FB #B2FB86
analogous
#9486FB #CF86FB #FB86EC
triadic
#CF86FB #FBCF86 #86FBCF
tetradic
#CF86FB #FB9486 #B2FB86 #86ECFB
square
#CF86FB #FB9486 #B2FB86 #86ECFB
split-complementary
#CF86FB #ECFB86 #86FB94
monochromatic
#A010F7 #B74BF9 #CF86FB #E7C1FD #F3E1FE

Accessibility & contrast

On white

2.48
#CF86FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CF86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86FB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86FB#FFFFFF#000000##000000
##CF86FB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#CA98B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf86fb;
/* rgb */ color: rgb(207, 134, 251);
/* oklch */ color: oklch(74.0% 0.177 311.5);
Tailwind
colors: {
  custom: {
    50: '#e0abfd',
    500: '#cf86fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf86fb;
$custom-light: #e0abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86fb",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 277.436,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73957,
    "c": 0.17725,
    "h": 311.5
  },
  "luminance": 0.37281
}

Semantic roles & 50–950 ramp

primary
#CF86FB
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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