#CF8EFC#CF8EFC

#CF8EFC is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.3% C 0.166 H 310.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CF8EFC
RGBrgb(207, 142, 252)
HSLhsl(275, 95%, 77%)
HSVhsv(275, 44%, 99%)
CMYKcmyk(17.9%, 43.7%, 0%, 1.2%)
CIE-LABlab(69.21, 44.18, -45.48)
CIE-LCHlch(69.21, 63.41, 314.17°)
OKLaboklab(75.26% 0.1068 -0.1264)
OKLCHoklch(75.26% 0.166 310.2)
XYZxyz(52.9726, 39.6405, 96.9374)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EFC #BBFC8E
analogous
#988EFC #CF8EFC #FC8EF2
triadic
#CF8EFC #FCCF8E #8EFCCF
tetradic
#CF8EFC #FC988E #BBFC8E #8EF2FC
square
#CF8EFC #FC988E #BBFC8E #8EF2FC
split-complementary
#CF8EFC #F2FC8E #8EFC98
monochromatic
#9C17F9 #B652FA #CF8EFC #E8CAFE #F2E1FE

Accessibility & contrast

On white

2.35
#CF8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CF8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EFC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EFC#FFFFFF#000000##000000
##CF8EFC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#CA9FB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8efc;
/* rgb */ color: rgb(207, 142, 252);
/* oklch */ color: oklch(75.3% 0.166 310.2);
Tailwind
colors: {
  custom: {
    50: '#dfb0fe',
    500: '#cf8efc',
    950: '#000000',
  },
}
SCSS
$custom: #cf8efc;
$custom-light: #dfb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8efc",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 275.455,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75262,
    "c": 0.1655,
    "h": 310.2
  },
  "luminance": 0.3964
}

Semantic roles & 50–950 ramp

primary
#CF8EFC
secondary
#E2F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CF8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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