#CD8EDB#CD8EDB

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

Color values

HEX#CD8EDB
RGBrgb(205, 142, 219)
HSLhsl(289, 52%, 71%)
HSVhsv(289, 35%, 86%)
CMYKcmyk(6.4%, 35.2%, 0%, 14.1%)
CIE-LABlab(67.61, 36.79, -29.87)
CIE-LCHlch(67.61, 47.38, 320.92°)
OKLaboklab(73.55% 0.0979 -0.0817)
OKLCHoklch(73.55% 0.128 320.2)
XYZxyz(47.6344, 37.4410, 71.7217)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EDB #9CDB8E
analogous
#A68EDB #CD8EDB #DB8EC2
triadic
#CD8EDB #DBCD8E #8EDBCD
tetradic
#CD8EDB #DBA68E #9CDB8E #8EC2DB
square
#CD8EDB #DBA68E #9CDB8E #8EC2DB
split-complementary
#CD8EDB #C2DB8E #8EDBA6
monochromatic
#9F3AB5 #B860CC #CD8EDB #E2BCEA #F5E8F8

Accessibility & contrast

On white

2.47
#CD8EDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CD8EDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EDB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EDB#FFFFFF#000000##000000
##CD8EDB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DE
Deuteranopia (green-blind)
#94A7D9
Tritanopia (blue-blind)
#CE97AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8edb;
/* rgb */ color: rgb(205, 142, 219);
/* oklch */ color: oklch(73.5% 0.128 320.2);
Tailwind
colors: {
  custom: {
    50: '#ddb0e6',
    500: '#cd8edb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8edb;
$custom-light: #ddb0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8edb",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 219
  },
  "hsl": {
    "h": 289.091,
    "s": 51.678,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73547,
    "c": 0.12752,
    "h": 320.2
  },
  "luminance": 0.3744
}

Semantic roles & 50–950 ramp

primary
#CD8EDB
secondary
#DCEDD8
accent
#BF2642
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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