#CF8FDA#CF8FDA

#CF8FDA is a light, vivid purple. Relative luminance 0.380; OKLCH L 73.9% C 0.126 H 321.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CF8FDA
RGBrgb(207, 143, 218)
HSLhsl(291, 50%, 71%)
HSVhsv(291, 34%, 85%)
CMYKcmyk(5%, 34.4%, 0%, 14.5%)
CIE-LABlab(68.00, 36.67, -28.69)
CIE-LCHlch(68.00, 46.56, 321.96°)
OKLaboklab(73.88% 0.0985 -0.0783)
OKLCHoklch(73.88% 0.126 321.5)
XYZxyz(48.2080, 37.9738, 71.1063)
Luminance0.3797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FDA #9ADA8F
analogous
#A98FDA #CF8FDA #DA8FBF
triadic
#CF8FDA #DACF8F #8FDACF
tetradic
#CF8FDA #DAA98F #9ADA8F #8FBFDA
square
#CF8FDA #DAA98F #9ADA8F #8FBFDA
split-complementary
#CF8FDA #BFDA8F #8FDAA9
monochromatic
#A23BB3 #BB61CB #CF8FDA #E3BDE9 #F5E8F7

Accessibility & contrast

On white

2.44
#CF8FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#CF8FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FDA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FDA#FFFFFF#000000##000000
##CF8FDA1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A1DD
Deuteranopia (green-blind)
#96A8D8
Tritanopia (blue-blind)
#D197AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8fda;
/* rgb */ color: rgb(207, 143, 218);
/* oklch */ color: oklch(73.9% 0.126 321.5);
Tailwind
colors: {
  custom: {
    50: '#deb1e5',
    500: '#cf8fda',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fda;
$custom-light: #deb1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fda",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 291.2,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.12584,
    "h": 321.5
  },
  "luminance": 0.37972
}

Semantic roles & 50–950 ramp

primary
#CF8FDA
secondary
#DBECD8
accent
#BE283E
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CF8FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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