#CF86FD#CF86FD

#CF86FD is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.1% C 0.179 H 311.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CF86FD
RGBrgb(207, 134, 253)
HSLhsl(277, 97%, 76%)
HSVhsv(277, 47%, 99%)
CMYKcmyk(18.2%, 47%, 0%, 0.8%)
CIE-LABlab(67.58, 48.63, -48.59)
CIE-LCHlch(67.58, 68.75, 315.02°)
OKLaboklab(74.06% 0.1178 -0.1354)
OKLCHoklch(74.06% 0.179 311)
XYZxyz(51.9837, 37.4084, 97.3915)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86FD #B4FD86
analogous
#9386FD #CF86FD #FD86EF
triadic
#CF86FD #FDCF86 #86FDCF
tetradic
#CF86FD #FD9386 #B4FD86 #86EFFD
square
#CF86FD #FD9386 #B4FD86 #86EFFD
split-complementary
#CF86FD #EFFD86 #86FD93
monochromatic
#9F0EFB #B74AFC #CF86FD #E7C2FE #F3E1FF

Accessibility & contrast

On white

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

On black

8.48
#CF86FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86FD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86FD#FFFFFF#000000##000000
##CF86FD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf86fd;
/* rgb */ color: rgb(207, 134, 253);
/* oklch */ color: oklch(74.1% 0.179 311.0);
Tailwind
colors: {
  custom: {
    50: '#e0abfe',
    500: '#cf86fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf86fd;
$custom-light: #e0abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86fd",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 276.807,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74059,
    "c": 0.17948,
    "h": 311
  },
  "luminance": 0.37407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF86FD

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

Preview Lab → · Contrast checker → · Palette generator →

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