#CD7EE7#CD7EE7

#CD7EE7 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.168 H 317.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CD7EE7
RGBrgb(205, 126, 231)
HSLhsl(285, 69%, 70%)
HSVhsv(285, 45%, 91%)
CMYKcmyk(11.3%, 45.5%, 0%, 9.4%)
CIE-LABlab(64.70, 47.70, -41.03)
CIE-LCHlch(64.70, 62.92, 319.30°)
OKLaboklab(71.53% 0.1233 -0.1135)
OKLCHoklch(71.53% 0.168 317.4)
XYZxyz(47.0594, 33.6718, 79.6062)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EE7 #98E77E
analogous
#997EE7 #CD7EE7 #E77ECC
triadic
#CD7EE7 #E7CD7E #7EE7CD
tetradic
#CD7EE7 #E7997E #98E77E #7ECCE7
square
#CD7EE7 #E7997E #98E77E #7ECCE7
split-complementary
#CD7EE7 #CCE77E #7EE799
monochromatic
#9E25C6 #B94ADD #CD7EE7 #E1B2F1 #F5E5FA

Accessibility & contrast

On white

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

On black

7.73
#CD7EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EE7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EE7#FFFFFF#000000##000000
##CD7EE71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#CD8CA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7ee7;
/* rgb */ color: rgb(205, 126, 231);
/* oklch */ color: oklch(71.5% 0.168 317.4);
Tailwind
colors: {
  custom: {
    50: '#dea5ef',
    500: '#cd7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ee7;
$custom-light: #dea5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ee7",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 285.143,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.7153,
    "c": 0.16762,
    "h": 317.4
  },
  "luminance": 0.3367
}

Semantic roles & 50–950 ramp

primary
#CD7EE7
secondary
#D9EFD2
accent
#D11543
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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