#CD7EE6#CD7EE6

#CD7EE6 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.5% C 0.167 H 317.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CD7EE6
RGBrgb(205, 126, 230)
HSLhsl(286, 68%, 70%)
HSVhsv(286, 45%, 90%)
CMYKcmyk(10.9%, 45.2%, 0%, 9.8%)
CIE-LABlab(64.66, 47.50, -40.55)
CIE-LCHlch(64.66, 62.46, 319.51°)
OKLaboklab(71.48% 0.1231 -0.1121)
OKLCHoklch(71.48% 0.167 317.7)
XYZxyz(46.9186, 33.6155, 78.8645)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EE6 #97E67E
analogous
#997EE6 #CD7EE6 #E67ECB
triadic
#CD7EE6 #E6CD7E #7EE6CD
tetradic
#CD7EE6 #E6997E #97E67E #7ECBE6
square
#CD7EE6 #E6997E #97E67E #7ECBE6
split-complementary
#CD7EE6 #CBE67E #7EE699
monochromatic
#9E26C4 #B94BDC #CD7EE6 #E1B1F0 #F5E5FA

Accessibility & contrast

On white

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

On black

7.72
#CD7EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EE6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EE6#FFFFFF#000000##000000
##CD7EE61.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EA
Deuteranopia (green-blind)
#829FE3
Tritanopia (blue-blind)
#CD8CA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7ee6;
/* rgb */ color: rgb(205, 126, 230);
/* oklch */ color: oklch(71.5% 0.167 317.7);
Tailwind
colors: {
  custom: {
    50: '#dea5ee',
    500: '#cd7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ee6;
$custom-light: #dea5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ee6",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 285.577,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71482,
    "c": 0.16656,
    "h": 317.7
  },
  "luminance": 0.33614
}

Semantic roles & 50–950 ramp

primary
#CD7EE6
secondary
#D8EFD1
accent
#CF1643
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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