#CF8EFE#CF8EFE

#CF8EFE is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.4% C 0.168 H 309.7°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CF8EFE
RGBrgb(207, 142, 254)
HSLhsl(275, 98%, 78%)
HSVhsv(275, 44%, 100%)
CMYKcmyk(18.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.30, 44.61, -46.43)
CIE-LCHlch(69.30, 64.38, 313.85°)
OKLaboklab(75.36% 0.1071 -0.1292)
OKLCHoklch(75.36% 0.168 309.7)
XYZxyz(53.2912, 39.7679, 98.6153)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EFE #BDFE8E
analogous
#978EFE #CF8EFE #FE8EF5
triadic
#CF8EFE #FECF8E #8EFECF
tetradic
#CF8EFE #FE978E #BDFE8E #8EF5FE
square
#CF8EFE #FE978E #BDFE8E #8EF5FE
split-complementary
#CF8EFE #F5FE8E #8EFE97
monochromatic
#9B15FD #B551FD #CF8EFE #E9CBFF #F2E1FF

Accessibility & contrast

On white

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

On black

8.95
#CF8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EFE
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EFE#FFFFFF#000000##000000
##CF8EFE1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#C9A0BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8efe;
/* rgb */ color: rgb(207, 142, 254);
/* oklch */ color: oklch(75.4% 0.168 309.7);
Tailwind
colors: {
  custom: {
    50: '#dfb0ff',
    500: '#cf8efe',
    950: '#000000',
  },
}
SCSS
$custom: #cf8efe;
$custom-light: #dfb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8efe",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 274.821,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7536,
    "c": 0.1678,
    "h": 309.7
  },
  "luminance": 0.39767
}

Semantic roles & 50–950 ramp

primary
#CF8EFE
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CF8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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