#CD7EE0#CD7EE0

#CD7EE0 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.160 H 319.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CD7EE0
RGBrgb(205, 126, 224)
HSLhsl(288, 61%, 69%)
HSVhsv(288, 44%, 88%)
CMYKcmyk(8.5%, 43.7%, 0%, 12.2%)
CIE-LABlab(64.39, 46.31, -37.63)
CIE-LCHlch(64.39, 59.67, 320.90°)
OKLaboklab(71.2% 0.1221 -0.1038)
OKLCHoklch(71.2% 0.16 319.6)
XYZxyz(46.0905, 33.2843, 74.5032)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EE0 #91E07E
analogous
#9C7EE0 #CD7EE0 #E07EC2
triadic
#CD7EE0 #E0CD7E #7EE0CD
tetradic
#CD7EE0 #E09C7E #91E07E #7EC2E0
square
#CD7EE0 #E09C7E #91E07E #7EC2E0
split-complementary
#CD7EE0 #C2E07E #7EE09C
monochromatic
#9C2CB8 #BA4DD4 #CD7EE0 #E0AFEC #F3E1F8

Accessibility & contrast

On white

2.74
#CD7EE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CD7EE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EE0
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EE0#FFFFFF#000000##000000
##CD7EE01.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E3
Deuteranopia (green-blind)
#859FDD
Tritanopia (blue-blind)
#CE8BA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7ee0;
/* rgb */ color: rgb(205, 126, 224);
/* oklch */ color: oklch(71.2% 0.160 319.6);
Tailwind
colors: {
  custom: {
    50: '#dea5ea',
    500: '#cd7ee0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ee0;
$custom-light: #dea5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ee0",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 224
  },
  "hsl": {
    "h": 288.367,
    "s": 61.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71196,
    "c": 0.16026,
    "h": 319.6
  },
  "luminance": 0.33283
}

Semantic roles & 50–950 ramp

primary
#CD7EE0
secondary
#D4ECCE
accent
#C91D3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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