#CD2EE2#CD2EE2

#CD2EE2 is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.4% C 0.267 H 322.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CD2EE2
RGBrgb(205, 46, 226)
HSLhsl(293, 76%, 53%)
HSVhsv(293, 80%, 89%)
CMYKcmyk(9.3%, 79.6%, 0%, 11.4%)
CIE-LABlab(52.32, 79.85, -57.88)
CIE-LCHlch(52.32, 98.62, 324.06°)
OKLaboklab(62.44% 0.212 -0.162)
OKLCHoklch(62.44% 0.267 322.6)
XYZxyz(39.8799, 20.4265, 73.7789)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2EE2 #43E22E
analogous
#732EE2 #CD2EE2 #E22E9D
triadic
#CD2EE2 #E2CD2E #2EE2CD
tetradic
#CD2EE2 #E2732E #43E22E #2E9DE2
square
#CD2EE2 #E2732E #43E22E #2E9DE2
split-complementary
#CD2EE2 #9DE22E #2EE273
monochromatic
#761283 #A71AB9 #CD2EE2 #DA64E9 #E799F1

Accessibility & contrast

On white

4.13
#CD2EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD2EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2EE2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2EE2#FFFFFF#000000##000000
##CD2EE21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#4D83DE
Tritanopia (blue-blind)
#D0558A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd2ee2;
/* rgb */ color: rgb(205, 46, 226);
/* oklch */ color: oklch(62.4% 0.267 322.6);
Tailwind
colors: {
  custom: {
    50: '#e17bec',
    500: '#cd2ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cd2ee2;
$custom-light: #e17bec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2ee2",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 226
  },
  "hsl": {
    "h": 293,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6244,
    "c": 0.26681,
    "h": 322.6
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#CD2EE2
secondary
#98DD8F
accent
#F2364C
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CD2EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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