#CF8EDD#CF8EDD

#CF8EDD is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.8% C 0.131 H 320.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CF8EDD
RGBrgb(207, 142, 221)
HSLhsl(289, 54%, 71%)
HSVhsv(289, 36%, 87%)
CMYKcmyk(6.3%, 35.7%, 0%, 13.3%)
CIE-LABlab(67.90, 37.80, -30.51)
CIE-LCHlch(67.90, 48.57, 321.09°)
OKLaboklab(73.84% 0.1007 -0.0835)
OKLCHoklch(73.84% 0.131 320.3)
XYZxyz(48.4546, 37.8333, 73.1427)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EDD #9CDD8E
analogous
#A78EDD #CF8EDD #DD8EC3
triadic
#CF8EDD #DDCF8E #8EDDCF
tetradic
#CF8EDD #DDA78E #9CDD8E #8EC3DD
square
#CF8EDD #DDA78E #9CDD8E #8EC3DD
split-complementary
#CF8EDD #C3DD8E #8EDDA7
monochromatic
#A238B9 #BB5FCF #CF8EDD #E3BDEB #F5E7F8

Accessibility & contrast

On white

2.45
#CF8EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CF8EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EDD
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EDD#FFFFFF#000000##000000
##CF8EDD1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E0
Deuteranopia (green-blind)
#94A8DB
Tritanopia (blue-blind)
#D097AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8edd;
/* rgb */ color: rgb(207, 142, 221);
/* oklch */ color: oklch(73.8% 0.131 320.3);
Tailwind
colors: {
  custom: {
    50: '#dfb0e7',
    500: '#cf8edd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8edd;
$custom-light: #dfb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8edd",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 289.367,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.1308,
    "h": 320.3
  },
  "luminance": 0.37832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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