#CD8ED7#CD8ED7

#CD8ED7 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.4% C 0.123 H 321.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CD8ED7
RGBrgb(205, 142, 215)
HSLhsl(292, 48%, 70%)
HSVhsv(292, 34%, 84%)
CMYKcmyk(4.7%, 34%, 0%, 15.7%)
CIE-LABlab(67.45, 36.00, -27.89)
CIE-LCHlch(67.45, 45.54, 322.24°)
OKLaboklab(73.38% 0.0969 -0.0761)
OKLCHoklch(73.38% 0.123 321.9)
XYZxyz(47.1141, 37.2329, 68.9816)
Luminance0.3723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8ED7 #98D78E
analogous
#A98ED7 #CD8ED7 #D78EBC
triadic
#CD8ED7 #D7CD8E #8ED7CD
tetradic
#CD8ED7 #D7A98E #98D78E #8EBCD7
square
#CD8ED7 #D7A98E #98D78E #8EBCD7
split-complementary
#CD8ED7 #BCD78E #8ED7A9
monochromatic
#9E3DAD #B961C7 #CD8ED7 #E1BBE7 #F5E8F7

Accessibility & contrast

On white

2.49
#CD8ED7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#CD8ED7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8ED7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8ED7#FFFFFF#000000##000000
##CD8ED71.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A0DA
Deuteranopia (green-blind)
#95A7D5
Tritanopia (blue-blind)
#CF96A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ed7;
/* rgb */ color: rgb(205, 142, 215);
/* oklch */ color: oklch(73.4% 0.123 321.9);
Tailwind
colors: {
  custom: {
    50: '#ddb0e3',
    500: '#cd8ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ed7;
$custom-light: #ddb0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ed7",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 215
  },
  "hsl": {
    "h": 291.781,
    "s": 47.712,
    "l": 70
  },
  "oklch": {
    "l": 0.73378,
    "c": 0.12323,
    "h": 321.9
  },
  "luminance": 0.37231
}

Semantic roles & 50–950 ramp

primary
#CD8ED7
secondary
#D9EBD6
accent
#BB2B3E
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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