#CD7EDA#CD7EDA

#CD7EDA is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.9% C 0.154 H 321.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD7EDA
RGBrgb(205, 126, 218)
HSLhsl(292, 55%, 67%)
HSVhsv(292, 42%, 85%)
CMYKcmyk(6%, 42.2%, 0%, 14.5%)
CIE-LABlab(64.13, 45.14, -34.70)
CIE-LCHlch(64.13, 56.93, 322.45°)
OKLaboklab(70.92% 0.121 -0.0953)
OKLCHoklch(70.92% 0.154 321.8)
XYZxyz(45.2911, 32.9645, 70.2931)
Luminance0.3296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EDA #8BDA7E
analogous
#9F7EDA #CD7EDA #DA7EB9
triadic
#CD7EDA #DACD7E #7EDACD
tetradic
#CD7EDA #DA9F7E #8BDA7E #7EB9DA
square
#CD7EDA #DA9F7E #8BDA7E #7EB9DA
split-complementary
#CD7EDA #B9DA7E #7EDA9F
monochromatic
#9B31AC #BB4ECC #CD7EDA #DFAEE8 #F2DDF5

Accessibility & contrast

On white

2.77
#CD7EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CD7EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EDA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EDA#FFFFFF#000000##000000
##CD7EDA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DD
Deuteranopia (green-blind)
#879FD7
Tritanopia (blue-blind)
#CF89A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7eda;
/* rgb */ color: rgb(205, 126, 218);
/* oklch */ color: oklch(70.9% 0.154 321.8);
Tailwind
colors: {
  custom: {
    50: '#dea5e5',
    500: '#cd7eda',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eda;
$custom-light: #dea5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eda",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 291.522,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70918,
    "c": 0.15407,
    "h": 321.8
  },
  "luminance": 0.32963
}

Semantic roles & 50–950 ramp

primary
#CD7EDA
secondary
#D0E8CC
accent
#C32339
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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