#CD7EDE#CD7EDE

#CD7EDE is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.158 H 320.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CD7EDE
RGBrgb(205, 126, 222)
HSLhsl(289, 59%, 68%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(7.7%, 43.2%, 0%, 12.9%)
CIE-LABlab(64.30, 45.92, -36.66)
CIE-LCHlch(64.30, 58.76, 321.40°)
OKLaboklab(71.1% 0.1218 -0.101)
OKLCHoklch(71.1% 0.158 320.3)
XYZxyz(45.8209, 33.1764, 73.0831)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EDE #8FDE7E
analogous
#9D7EDE #CD7EDE #DE7EBF
triadic
#CD7EDE #DECD7E #7EDECD
tetradic
#CD7EDE #DE9D7E #8FDE7E #7EBFDE
square
#CD7EDE #DE9D7E #8FDE7E #7EBFDE
split-complementary
#CD7EDE #BFDE7E #7EDE9D
monochromatic
#9C2EB4 #BA4DD2 #CD7EDE #E0AFEA #F3DFF7

Accessibility & contrast

On white

2.75
#CD7EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CD7EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EDE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EDE#FFFFFF#000000##000000
##CD7EDE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E1
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#CE8AA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7ede;
/* rgb */ color: rgb(205, 126, 222);
/* oklch */ color: oklch(71.1% 0.158 320.3);
Tailwind
colors: {
  custom: {
    50: '#dea5e8',
    500: '#cd7ede',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ede;
$custom-light: #dea5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ede",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 289.375,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71103,
    "c": 0.15819,
    "h": 320.3
  },
  "luminance": 0.33175
}

Semantic roles & 50–950 ramp

primary
#CD7EDE
secondary
#D2EACD
accent
#C71F3C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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