#CD7EE5#CD7EE5

#CD7EE5 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.166 H 318.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CD7EE5
RGBrgb(205, 126, 229)
HSLhsl(286, 66%, 70%)
HSVhsv(286, 45%, 90%)
CMYKcmyk(10.5%, 45%, 0%, 10.2%)
CIE-LABlab(64.61, 47.30, -40.07)
CIE-LCHlch(64.61, 61.99, 319.74°)
OKLaboklab(71.43% 0.123 -0.1108)
OKLCHoklch(71.43% 0.166 318)
XYZxyz(46.7786, 33.5595, 78.1270)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EE5 #96E57E
analogous
#997EE5 #CD7EE5 #E57ECA
triadic
#CD7EE5 #E5CD7E #7EE5CD
tetradic
#CD7EE5 #E5997E #96E57E #7ECAE5
square
#CD7EE5 #E5997E #96E57E #7ECAE5
split-complementary
#CD7EE5 #CAE57E #7EE599
monochromatic
#9E27C2 #B94BDB #CD7EE5 #E1B1EF #F4E4FA

Accessibility & contrast

On white

2.72
#CD7EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CD7EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EE5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EE5#FFFFFF#000000##000000
##CD7EE51.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E9
Deuteranopia (green-blind)
#839FE2
Tritanopia (blue-blind)
#CD8CA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7ee5;
/* rgb */ color: rgb(205, 126, 229);
/* oklch */ color: oklch(71.4% 0.166 318.0);
Tailwind
colors: {
  custom: {
    50: '#dea5ed',
    500: '#cd7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ee5;
$custom-light: #dea5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ee5",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 286.019,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71433,
    "c": 0.1655,
    "h": 318
  },
  "luminance": 0.33558
}

Semantic roles & 50–950 ramp

primary
#CD7EE5
secondary
#D8EED1
accent
#CE1742
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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