#CF86FC#CF86FC

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

Color values

HEX#CF86FC
RGBrgb(207, 134, 252)
HSLhsl(277, 95%, 76%)
HSVhsv(277, 47%, 99%)
CMYKcmyk(17.9%, 46.8%, 0%, 1.2%)
CIE-LABlab(67.53, 48.41, -48.12)
CIE-LCHlch(67.53, 68.26, 315.17°)
OKLaboklab(74.01% 0.1177 -0.134)
OKLCHoklch(74.01% 0.178 311.3)
XYZxyz(51.8248, 37.3448, 96.5548)
Luminance0.3734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86FC #B3FC86
analogous
#9486FC #CF86FC #FC86EE
triadic
#CF86FC #FCCF86 #86FCCF
tetradic
#CF86FC #FC9486 #B3FC86 #86EEFC
square
#CF86FC #FC9486 #B3FC86 #86EEFC
split-complementary
#CF86FC #EEFC86 #86FC94
monochromatic
#A00FF9 #B74AFB #CF86FC #E7C2FD #F3E1FE

Accessibility & contrast

On white

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

On black

8.47
#CF86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86FC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86FC#FFFFFF#000000##000000
##CF86FC1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#CA99B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf86fc;
/* rgb */ color: rgb(207, 134, 252);
/* oklch */ color: oklch(74.0% 0.178 311.3);
Tailwind
colors: {
  custom: {
    50: '#e0abfe',
    500: '#cf86fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf86fc;
$custom-light: #e0abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86fc",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 277.119,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74008,
    "c": 0.17836,
    "h": 311.3
  },
  "luminance": 0.37344
}

Semantic roles & 50–950 ramp

primary
#CF86FC
secondary
#E1F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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