#CD8EDA#CD8EDA

#CD8EDA is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.5% C 0.126 H 320.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CD8EDA
RGBrgb(205, 142, 218)
HSLhsl(290, 51%, 71%)
HSVhsv(290, 35%, 85%)
CMYKcmyk(6%, 34.9%, 0%, 14.5%)
CIE-LABlab(67.57, 36.59, -29.38)
CIE-LCHlch(67.57, 46.92, 321.24°)
OKLaboklab(73.5% 0.0977 -0.0803)
OKLCHoklch(73.5% 0.126 320.6)
XYZxyz(47.5031, 37.3885, 71.0304)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EDA #9BDA8E
analogous
#A78EDA #CD8EDA #DA8EC1
triadic
#CD8EDA #DACD8E #8EDACD
tetradic
#CD8EDA #DAA78E #9BDA8E #8EC1DA
square
#CD8EDA #DAA78E #9BDA8E #8EC1DA
split-complementary
#CD8EDA #C1DA8E #8EDAA7
monochromatic
#9E3BB3 #B960CB #CD8EDA #E1BCE9 #F5E8F7

Accessibility & contrast

On white

2.48
#CD8EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CD8EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EDA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EDA#FFFFFF#000000##000000
##CD8EDA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#94A7D8
Tritanopia (blue-blind)
#CE97AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8eda;
/* rgb */ color: rgb(205, 142, 218);
/* oklch */ color: oklch(73.5% 0.126 320.6);
Tailwind
colors: {
  custom: {
    50: '#ddb0e5',
    500: '#cd8eda',
    950: '#000000',
  },
}
SCSS
$custom: #cd8eda;
$custom-light: #ddb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8eda",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 289.737,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73504,
    "c": 0.12644,
    "h": 320.6
  },
  "luminance": 0.37387
}

Semantic roles & 50–950 ramp

primary
#CD8EDA
secondary
#DBECD8
accent
#BE2741
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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