#CF8DF5#CF8DF5

#CF8DF5 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.8% C 0.159 H 312.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CF8DF5
RGBrgb(207, 141, 245)
HSLhsl(278, 84%, 76%)
HSVhsv(278, 42%, 96%)
CMYKcmyk(15.5%, 42.4%, 0%, 3.9%)
CIE-LABlab(68.69, 43.22, -42.49)
CIE-LCHlch(68.69, 60.61, 315.49°)
OKLaboklab(74.76% 0.107 -0.1178)
OKLCHoklch(74.76% 0.159 312.3)
XYZxyz(51.7356, 38.9087, 91.1532)
Luminance0.3891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DF5 #B3F58D
analogous
#9B8DF5 #CF8DF5 #F58DE7
triadic
#CF8DF5 #F5CF8D #8DF5CF
tetradic
#CF8DF5 #F59B8D #B3F58D #8DE7F5
square
#CF8DF5 #F59B8D #B3F58D #8DE7F5
split-complementary
#CF8DF5 #E7F58D #8DF59B
monochromatic
#A01CEB #B755F0 #CF8DF5 #E7C5FA #F3E3FD

Accessibility & contrast

On white

2.39
#CF8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CF8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DF5
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DF5#FFFFFF#000000##000000
##CF8DF51.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F9
Deuteranopia (green-blind)
#89A9F2
Tritanopia (blue-blind)
#CB9CB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8df5;
/* rgb */ color: rgb(207, 141, 245);
/* oklch */ color: oklch(74.8% 0.159 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfaff9',
    500: '#cf8df5',
    950: '#000000',
  },
}
SCSS
$custom: #cf8df5;
$custom-light: #dfaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8df5",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 278.077,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74763,
    "c": 0.15913,
    "h": 312.3
  },
  "luminance": 0.38908
}

Semantic roles & 50–950 ramp

primary
#CF8DF5
secondary
#E1F4D7
accent
#E00555
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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