#CD7EDD#CD7EDD

#CD7EDD is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.157 H 320.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CD7EDD
RGBrgb(205, 126, 221)
HSLhsl(290, 58%, 68%)
HSVhsv(290, 43%, 87%)
CMYKcmyk(7.2%, 43%, 0%, 13.3%)
CIE-LABlab(64.26, 45.72, -36.17)
CIE-LCHlch(64.26, 58.30, 321.65°)
OKLaboklab(71.06% 0.1216 -0.0996)
OKLCHoklch(71.06% 0.157 320.7)
XYZxyz(45.6873, 33.1229, 72.3793)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EDD #8EDD7E
analogous
#9D7EDD #CD7EDD #DD7EBD
triadic
#CD7EDD #DDCD7E #7EDDCD
tetradic
#CD7EDD #DD9D7E #8EDD7E #7EBDDD
square
#CD7EDD #DD9D7E #8EDD7E #7EBDDD
split-complementary
#CD7EDD #BDDD7E #7EDD9D
monochromatic
#9C2FB2 #BA4ED0 #CD7EDD #E0AEEA #F3DFF7

Accessibility & contrast

On white

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

On black

7.62
#CD7EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EDD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EDD#FFFFFF#000000##000000
##CD7EDD1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E0
Deuteranopia (green-blind)
#869FDA
Tritanopia (blue-blind)
#CF8AA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7edd;
/* rgb */ color: rgb(205, 126, 221);
/* oklch */ color: oklch(71.1% 0.157 320.7);
Tailwind
colors: {
  custom: {
    50: '#dea5e8',
    500: '#cd7edd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7edd;
$custom-light: #dea5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7edd",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 289.895,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.15715,
    "h": 320.7
  },
  "luminance": 0.33121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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