#CD7EE2#CD7EE2

#CD7EE2 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.162 H 319.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CD7EE2
RGBrgb(205, 126, 226)
HSLhsl(287, 63%, 69%)
HSVhsv(287, 44%, 89%)
CMYKcmyk(9.3%, 44.2%, 0%, 11.4%)
CIE-LABlab(64.48, 46.71, -38.61)
CIE-LCHlch(64.48, 60.60, 320.42°)
OKLaboklab(71.29% 0.1225 -0.1066)
OKLCHoklch(71.29% 0.162 319)
XYZxyz(46.3634, 33.3934, 75.9401)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EE2 #93E27E
analogous
#9B7EE2 #CD7EE2 #E27EC5
triadic
#CD7EE2 #E2CD7E #7EE2CD
tetradic
#CD7EE2 #E29B7E #93E27E #7EC5E2
square
#CD7EE2 #E29B7E #93E27E #7EC5E2
split-complementary
#CD7EE2 #C5E27E #7EE29B
monochromatic
#9D2ABB #BA4CD7 #CD7EE2 #E0B0ED #F4E2F8

Accessibility & contrast

On white

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

On black

7.68
#CD7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EE2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EE2#FFFFFF#000000##000000
##CD7EE21.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#849FDF
Tritanopia (blue-blind)
#CE8BA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7ee2;
/* rgb */ color: rgb(205, 126, 226);
/* oklch */ color: oklch(71.3% 0.162 319.0);
Tailwind
colors: {
  custom: {
    50: '#dea5eb',
    500: '#cd7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ee2;
$custom-light: #dea5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ee2",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 287.4,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.16235,
    "h": 319
  },
  "luminance": 0.33392
}

Semantic roles & 50–950 ramp

primary
#CD7EE2
secondary
#D5EDCF
accent
#CB1A40
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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