#CF86F2#CF86F2

#CF86F2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.5% C 0.167 H 314.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CF86F2
RGBrgb(207, 134, 242)
HSLhsl(281, 81%, 74%)
HSVhsv(281, 45%, 95%)
CMYKcmyk(14.5%, 44.6%, 0%, 5.1%)
CIE-LABlab(67.07, 46.31, -43.37)
CIE-LCHlch(67.07, 63.45, 316.88°)
OKLaboklab(73.51% 0.1162 -0.1203)
OKLCHoklch(73.51% 0.167 314)
XYZxyz(50.2816, 36.7276, 88.4276)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86F2 #A9F286
analogous
#9986F2 #CF86F2 #F286DF
triadic
#CF86F2 #F2CF86 #86F2CF
tetradic
#CF86F2 #F29986 #A9F286 #86DFF2
square
#CF86F2 #F29986 #A9F286 #86DFF2
split-complementary
#CF86F2 #DFF286 #86F299
monochromatic
#A319E5 #B94FEC #CF86F2 #E5BDF8 #F4E3FC

Accessibility & contrast

On white

2.52
#CF86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CF86F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86F2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86F2#FFFFFF#000000##000000
##CF86F21.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#CC96B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf86f2;
/* rgb */ color: rgb(207, 134, 242);
/* oklch */ color: oklch(73.5% 0.167 314.0);
Tailwind
colors: {
  custom: {
    50: '#dfabf7',
    500: '#cf86f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf86f2;
$custom-light: #dfabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86f2",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 280.556,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73511,
    "c": 0.16728,
    "h": 314
  },
  "luminance": 0.36726
}

Semantic roles & 50–950 ramp

primary
#CF86F2
secondary
#E0F4D7
accent
#DD094D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CF86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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