#CF8DDD#CF8DDD

#CF8DDD is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.7% C 0.133 H 320.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CF8DDD
RGBrgb(207, 141, 221)
HSLhsl(290, 54%, 71%)
HSVhsv(290, 36%, 87%)
CMYKcmyk(6.3%, 36.2%, 0%, 13.3%)
CIE-LABlab(67.68, 38.34, -30.85)
CIE-LCHlch(67.68, 49.21, 321.18°)
OKLaboklab(73.67% 0.1022 -0.0844)
OKLCHoklch(73.67% 0.133 320.4)
XYZxyz(48.3065, 37.5371, 73.0933)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DDD #9BDD8D
analogous
#A78DDD #CF8DDD #DD8DC3
triadic
#CF8DDD #DDCF8D #8DDDCF
tetradic
#CF8DDD #DDA78D #9BDD8D #8DC3DD
square
#CF8DDD #DDA78D #9BDD8D #8DC3DD
split-complementary
#CF8DDD #C3DD8D #8DDDA7
monochromatic
#A237B9 #BB5ECF #CF8DDD #E3BCEB #F5E7F8

Accessibility & contrast

On white

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

On black

8.51
#CF8DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DDD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DDD#FFFFFF#000000##000000
##CF8DDD1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf8ddd;
/* rgb */ color: rgb(207, 141, 221);
/* oklch */ color: oklch(73.7% 0.133 320.4);
Tailwind
colors: {
  custom: {
    50: '#dfafe7',
    500: '#cf8ddd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ddd;
$custom-light: #dfafe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ddd",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 289.5,
    "s": 54.054,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73674,
    "c": 0.13254,
    "h": 320.4
  },
  "luminance": 0.37536
}

Semantic roles & 50–950 ramp

primary
#CF8DDD
secondary
#DCEED8
accent
#C22440
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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