#CF8EF6#CF8EF6

#CF8EF6 is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.159 H 311.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CF8EF6
RGBrgb(207, 142, 246)
HSLhsl(278, 85%, 76%)
HSVhsv(278, 42%, 96%)
CMYKcmyk(15.9%, 42.3%, 0%, 3.5%)
CIE-LABlab(68.94, 42.90, -42.63)
CIE-LCHlch(68.94, 60.48, 315.18°)
OKLaboklab(74.97% 0.1058 -0.1182)
OKLCHoklch(74.97% 0.159 311.8)
XYZxyz(52.0368, 39.2662, 92.0088)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EF6 #B5F68E
analogous
#9B8EF6 #CF8EF6 #F68EE9
triadic
#CF8EF6 #F6CF8E #8EF6CF
tetradic
#CF8EF6 #F69B8E #B5F68E #8EE9F6
square
#CF8EF6 #F69B8E #B5F68E #8EE9F6
split-complementary
#CF8EF6 #E9F68E #8EF69B
monochromatic
#9F1DED #B755F1 #CF8EF6 #E7C7FB #F3E3FD

Accessibility & contrast

On white

2.37
#CF8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CF8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EF6
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EF6#FFFFFF#000000##000000
##CF8EF61.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#89AAF3
Tritanopia (blue-blind)
#CB9DB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8ef6;
/* rgb */ color: rgb(207, 142, 246);
/* oklch */ color: oklch(75.0% 0.159 311.8);
Tailwind
colors: {
  custom: {
    50: '#dfb0f9',
    500: '#cf8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ef6;
$custom-light: #dfb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ef6",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 277.5,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74972,
    "c": 0.15863,
    "h": 311.8
  },
  "luminance": 0.39265
}

Semantic roles & 50–950 ramp

primary
#CF8EF6
secondary
#E2F5D6
accent
#E20457
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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