#CD8FDE#CD8FDE

#CD8FDE is a light, vivid purple. Relative luminance 0.379; OKLCH L 73.8% C 0.129 H 318.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CD8FDE
RGBrgb(205, 143, 222)
HSLhsl(287, 54%, 72%)
HSVhsv(287, 36%, 87%)
CMYKcmyk(7.7%, 35.6%, 0%, 12.9%)
CIE-LABlab(67.95, 36.84, -31.00)
CIE-LCHlch(67.95, 48.15, 319.92°)
OKLaboklab(73.84% 0.0972 -0.0849)
OKLCHoklch(73.84% 0.129 318.8)
XYZxyz(48.1823, 37.8993, 73.8702)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FDE #A0DE8F
analogous
#A68FDE #CD8FDE #DE8FC8
triadic
#CD8FDE #DECD8F #8FDECD
tetradic
#CD8FDE #DEA68F #A0DE8F #8FC8DE
square
#CD8FDE #DEA68F #A0DE8F #8FC8DE
split-complementary
#CD8FDE #C8DE8F #8FDEA6
monochromatic
#9F37BB #B860D0 #CD8FDE #E2BEEC #F4E7F8

Accessibility & contrast

On white

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

On black

8.58
#CD8FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FDE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FDE#FFFFFF#000000##000000
##CD8FDE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E1
Deuteranopia (green-blind)
#94A8DC
Tritanopia (blue-blind)
#CE98AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8fde;
/* rgb */ color: rgb(205, 143, 222);
/* oklch */ color: oklch(73.8% 0.129 318.8);
Tailwind
colors: {
  custom: {
    50: '#ddb0e8',
    500: '#cd8fde',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fde;
$custom-light: #ddb0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fde",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 222
  },
  "hsl": {
    "h": 287.089,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73842,
    "c": 0.12904,
    "h": 318.8
  },
  "luminance": 0.37898
}

Semantic roles & 50–950 ramp

primary
#CD8FDE
secondary
#DFEFDA
accent
#C22446
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CD8FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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