#CF86FE#CF86FE

#CF86FE is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.1% C 0.181 H 310.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CF86FE
RGBrgb(207, 134, 254)
HSLhsl(277, 98%, 76%)
HSVhsv(277, 47%, 100%)
CMYKcmyk(18.5%, 47.2%, 0%, 0.4%)
CIE-LABlab(67.63, 48.84, -49.06)
CIE-LCHlch(67.63, 69.23, 314.87°)
OKLaboklab(74.11% 0.1179 -0.1368)
OKLCHoklch(74.11% 0.181 310.8)
XYZxyz(52.1434, 37.4723, 98.2327)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86FE #B5FE86
analogous
#9386FE #CF86FE #FE86F1
triadic
#CF86FE #FECF86 #86FECF
tetradic
#CF86FE #FE9386 #B5FE86 #86F1FE
square
#CF86FE #FE9386 #B5FE86 #86F1FE
split-complementary
#CF86FE #F1FE86 #86FE93
monochromatic
#9F0DFD #B749FD #CF86FE #E7C3FF #F3E1FF

Accessibility & contrast

On white

2.47
#CF86FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CF86FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86FE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86FE#FFFFFF#000000##000000
##CF86FE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#7EA6FB
Tritanopia (blue-blind)
#CA99B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf86fe;
/* rgb */ color: rgb(207, 134, 254);
/* oklch */ color: oklch(74.1% 0.181 310.8);
Tailwind
colors: {
  custom: {
    50: '#e0abff',
    500: '#cf86fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf86fe;
$custom-light: #e0abff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86fe",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 276.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7411,
    "c": 0.18059,
    "h": 310.8
  },
  "luminance": 0.37471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF86FE

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

Preview Lab → · Contrast checker → · Palette generator →

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