#CD7EE4#CD7EE4

#CD7EE4 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.164 H 318.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CD7EE4
RGBrgb(205, 126, 228)
HSLhsl(286, 65%, 69%)
HSVhsv(286, 45%, 89%)
CMYKcmyk(10.1%, 44.7%, 0%, 10.6%)
CIE-LABlab(64.57, 47.10, -39.58)
CIE-LCHlch(64.57, 61.53, 319.96°)
OKLaboklab(71.39% 0.1228 -0.1094)
OKLCHoklch(71.39% 0.164 318.3)
XYZxyz(46.6394, 33.5038, 77.3938)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EE4 #95E47E
analogous
#9A7EE4 #CD7EE4 #E47EC8
triadic
#CD7EE4 #E4CD7E #7EE4CD
tetradic
#CD7EE4 #E49A7E #95E47E #7EC8E4
square
#CD7EE4 #E49A7E #95E47E #7EC8E4
split-complementary
#CD7EE4 #C8E47E #7EE49A
monochromatic
#9D28C0 #B94BD9 #CD7EE4 #E1B1EF #F4E3F9

Accessibility & contrast

On white

2.73
#CD7EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CD7EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EE4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EE4#FFFFFF#000000##000000
##CD7EE41.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E8
Deuteranopia (green-blind)
#839FE1
Tritanopia (blue-blind)
#CD8CA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7ee4;
/* rgb */ color: rgb(205, 126, 228);
/* oklch */ color: oklch(71.4% 0.164 318.3);
Tailwind
colors: {
  custom: {
    50: '#dea5ed',
    500: '#cd7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ee4;
$custom-light: #dea5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ee4",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 286.471,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71386,
    "c": 0.16445,
    "h": 318.3
  },
  "luminance": 0.33502
}

Semantic roles & 50–950 ramp

primary
#CD7EE4
secondary
#D7EED0
accent
#CD1841
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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