#CD7EDC#CD7EDC

#CD7EDC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.156 H 321.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD7EDC
RGBrgb(205, 126, 220)
HSLhsl(290, 57%, 68%)
HSVhsv(290, 43%, 86%)
CMYKcmyk(6.8%, 42.7%, 0%, 13.7%)
CIE-LABlab(64.22, 45.53, -35.68)
CIE-LCHlch(64.22, 57.84, 321.92°)
OKLaboklab(71.01% 0.1214 -0.0981)
OKLCHoklch(71.01% 0.156 321)
XYZxyz(45.5544, 33.0698, 71.6798)
Luminance0.3307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EDC #8DDC7E
analogous
#9E7EDC #CD7EDC #DC7EBC
triadic
#CD7EDC #DCCD7E #7EDCCD
tetradic
#CD7EDC #DC9E7E #8DDC7E #7EBCDC
square
#CD7EDC #DC9E7E #8DDC7E #7EBCDC
split-complementary
#CD7EDC #BCDC7E #7EDC9E
monochromatic
#9B30B0 #BA4ECF #CD7EDC #E0AEE9 #F2DEF6

Accessibility & contrast

On white

2.76
#CD7EDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CD7EDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EDC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EDC#FFFFFF#000000##000000
##CD7EDC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#CF89A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7edc;
/* rgb */ color: rgb(205, 126, 220);
/* oklch */ color: oklch(71.0% 0.156 321.0);
Tailwind
colors: {
  custom: {
    50: '#dea5e7',
    500: '#cd7edc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7edc;
$custom-light: #dea5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7edc",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 220
  },
  "hsl": {
    "h": 290.426,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7101,
    "c": 0.15612,
    "h": 321
  },
  "luminance": 0.33068
}

Semantic roles & 50–950 ramp

primary
#CD7EDC
secondary
#D1E9CC
accent
#C5213B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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