#CF8FDD#CF8FDD

#CF8FDD is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.0% C 0.129 H 320.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CF8FDD
RGBrgb(207, 143, 221)
HSLhsl(289, 53%, 71%)
HSVhsv(289, 35%, 87%)
CMYKcmyk(6.3%, 35.3%, 0%, 13.3%)
CIE-LABlab(68.12, 37.26, -30.17)
CIE-LCHlch(68.12, 47.94, 321.00°)
OKLaboklab(74.01% 0.0992 -0.0825)
OKLCHoklch(74.01% 0.129 320.3)
XYZxyz(48.6041, 38.1322, 73.1925)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FDD #9DDD8F
analogous
#A88FDD #CF8FDD #DD8FC4
triadic
#CF8FDD #DDCF8F #8FDDCF
tetradic
#CF8FDD #DDA88F #9DDD8F #8FC4DD
square
#CF8FDD #DDA88F #9DDD8F #8FC4DD
split-complementary
#CF8FDD #C4DD8F #8FDDA8
monochromatic
#A238B9 #BB60CF #CF8FDD #E3BEEB #F5E8F8

Accessibility & contrast

On white

2.43
#CF8FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CF8FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FDD
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FDD#FFFFFF#000000##000000
##CF8FDD1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E0
Deuteranopia (green-blind)
#95A8DB
Tritanopia (blue-blind)
#D098AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8fdd;
/* rgb */ color: rgb(207, 143, 221);
/* oklch */ color: oklch(74.0% 0.129 320.3);
Tailwind
colors: {
  custom: {
    50: '#dfb1e7',
    500: '#cf8fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fdd;
$custom-light: #dfb1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fdd",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 221
  },
  "hsl": {
    "h": 289.231,
    "s": 53.425,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74007,
    "c": 0.12905,
    "h": 320.3
  },
  "luminance": 0.38131
}

Semantic roles & 50–950 ramp

primary
#CF8FDD
secondary
#DDEEDA
accent
#C12541
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CF8FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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