#CF8DF4#CF8DF4

#CF8DF4 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.7% C 0.158 H 312.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CF8DF4
RGBrgb(207, 141, 244)
HSLhsl(278, 82%, 75%)
HSVhsv(278, 42%, 96%)
CMYKcmyk(15.2%, 42.2%, 0%, 4.3%)
CIE-LABlab(68.64, 43.01, -42.01)
CIE-LCHlch(68.64, 60.12, 315.68°)
OKLaboklab(74.72% 0.1068 -0.1164)
OKLCHoklch(74.72% 0.158 312.5)
XYZxyz(51.5834, 38.8478, 90.3514)
Luminance0.3885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DF4 #B2F48D
analogous
#9B8DF4 #CF8DF4 #F48DE5
triadic
#CF8DF4 #F4CF8D #8DF4CF
tetradic
#CF8DF4 #F49B8D #B2F48D #8DE5F4
square
#CF8DF4 #F49B8D #B2F48D #8DE5F4
split-complementary
#CF8DF4 #E5F48D #8DF49B
monochromatic
#A01DE9 #B755EF #CF8DF4 #E7C5F9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.77
#CF8DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DF4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DF4#FFFFFF#000000##000000
##CF8DF41.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A4F8
Deuteranopia (green-blind)
#8AA9F1
Tritanopia (blue-blind)
#CC9CB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8df4;
/* rgb */ color: rgb(207, 141, 244);
/* oklch */ color: oklch(74.7% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#dfaff8',
    500: '#cf8df4',
    950: '#000000',
  },
}
SCSS
$custom: #cf8df4;
$custom-light: #dfaff8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8df4",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 278.447,
    "s": 82.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74715,
    "c": 0.158,
    "h": 312.5
  },
  "luminance": 0.38847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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