#CF8FFC#CF8FFC

#CF8FFC is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.4% C 0.164 H 310.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CF8FFC
RGBrgb(207, 143, 252)
HSLhsl(275, 95%, 77%)
HSVhsv(275, 43%, 99%)
CMYKcmyk(17.9%, 43.3%, 0%, 1.2%)
CIE-LABlab(69.43, 43.64, -45.15)
CIE-LCHlch(69.43, 62.79, 314.03°)
OKLaboklab(75.42% 0.1054 -0.1255)
OKLCHoklch(75.42% 0.164 310)
XYZxyz(53.1221, 39.9394, 96.9872)
Luminance0.3994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FFC #BCFC8F
analogous
#988FFC #CF8FFC #FC8FF3
triadic
#CF8FFC #FCCF8F #8FFCCF
tetradic
#CF8FFC #FC988F #BCFC8F #8FF3FC
square
#CF8FFC #FC988F #BCFC8F #8FF3FC
split-complementary
#CF8FFC #F3FC8F #8FFC98
monochromatic
#9C18F9 #B553FA #CF8FFC #E9CBFE #F2E1FE

Accessibility & contrast

On white

2.34
#CF8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#CF8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FFC
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FFC#FFFFFF#000000##000000
##CF8FFC1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#CAA0BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf8ffc;
/* rgb */ color: rgb(207, 143, 252);
/* oklch */ color: oklch(75.4% 0.164 310.0);
Tailwind
colors: {
  custom: {
    50: '#dfb1fe',
    500: '#cf8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ffc;
$custom-light: #dfb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ffc",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 275.229,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.16387,
    "h": 310
  },
  "luminance": 0.39939
}

Semantic roles & 50–950 ramp

primary
#CF8FFC
secondary
#E3F6D5
accent
#E6005F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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