#CF8DFA#CF8DFA

#CF8DFA is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.165 H 310.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CF8DFA
RGBrgb(207, 141, 250)
HSLhsl(276, 92%, 77%)
HSVhsv(276, 44%, 98%)
CMYKcmyk(17.2%, 43.6%, 0%, 2%)
CIE-LABlab(68.91, 44.28, -44.87)
CIE-LCHlch(68.91, 63.04, 314.62°)
OKLaboklab(75% 0.1078 -0.1247)
OKLCHoklch(75% 0.165 310.9)
XYZxyz(52.5092, 39.2182, 95.2276)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DFA #B8FA8D
analogous
#998DFA #CF8DFA #FA8DEF
triadic
#CF8DFA #FACF8D #8DFACF
tetradic
#CF8DFA #FA998D #B8FA8D #8DEFFA
square
#CF8DFA #FA998D #B8FA8D #8DEFFA
split-complementary
#CF8DFA #EFFA8D #8DFA99
monochromatic
#9E18F5 #B652F7 #CF8DFA #E8C8FD #F3E2FE

Accessibility & contrast

On white

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

On black

8.84
#CF8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DFA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DFA#FFFFFF#000000##000000
##CF8DFA1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#87A9F7
Tritanopia (blue-blind)
#CA9EB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8dfa;
/* rgb */ color: rgb(207, 141, 250);
/* oklch */ color: oklch(75.0% 0.165 310.9);
Tailwind
colors: {
  custom: {
    50: '#dfaffc',
    500: '#cf8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dfa;
$custom-light: #dfaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dfa",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 276.33,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75004,
    "c": 0.16483,
    "h": 310.9
  },
  "luminance": 0.39217
}

Semantic roles & 50–950 ramp

primary
#CF8DFA
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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