#CF8DDE#CF8DDE

#CF8DDE is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.7% C 0.134 H 320.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CF8DDE
RGBrgb(207, 141, 222)
HSLhsl(289, 55%, 71%)
HSVhsv(289, 36%, 87%)
CMYKcmyk(6.8%, 36.5%, 0%, 12.9%)
CIE-LABlab(67.72, 38.53, -31.34)
CIE-LCHlch(67.72, 49.67, 320.88°)
OKLaboklab(73.72% 0.1024 -0.0858)
OKLCHoklch(73.72% 0.134 320)
XYZxyz(48.4401, 37.5905, 73.7971)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DDE #9CDE8D
analogous
#A68DDE #CF8DDE #DE8DC4
triadic
#CF8DDE #DECF8D #8DDECF
tetradic
#CF8DDE #DEA68D #9CDE8D #8DC4DE
square
#CF8DDE #DEA68D #9CDE8D #8DC4DE
split-complementary
#CF8DDE #C4DE8D #8DDEA6
monochromatic
#A236BB #BB5ED0 #CF8DDE #E3BCEC #F5E7F8

Accessibility & contrast

On white

2.47
#CF8DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CF8DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DDE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DDE#FFFFFF#000000##000000
##CF8DDE1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0E1
Deuteranopia (green-blind)
#93A7DB
Tritanopia (blue-blind)
#D096AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8dde;
/* rgb */ color: rgb(207, 141, 222);
/* oklch */ color: oklch(73.7% 0.134 320.0);
Tailwind
colors: {
  custom: {
    50: '#dfafe8',
    500: '#cf8dde',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dde;
$custom-light: #dfafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dde",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 222
  },
  "hsl": {
    "h": 288.889,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73717,
    "c": 0.13361,
    "h": 320
  },
  "luminance": 0.37589
}

Semantic roles & 50–950 ramp

primary
#CF8DDE
secondary
#DDEED9
accent
#C32340
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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