#D22ED7#D22ED7

#D22ED7 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.5% C 0.261 H 326.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D22ED7
RGBrgb(210, 46, 215)
HSLhsl(298, 68%, 51%)
HSVhsv(298, 79%, 84%)
CMYKcmyk(2.3%, 78.6%, 0%, 15.7%)
CIE-LABlab(52.47, 79.00, -51.34)
CIE-LCHlch(52.47, 94.22, 326.98°)
OKLaboklab(62.5% 0.2182 -0.1428)
OKLCHoklch(62.5% 0.261 326.8)
XYZxyz(39.8204, 20.5648, 66.1489)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22ED7 #33D72E
analogous
#7D2ED7 #D22ED7 #D72E87
triadic
#D22ED7 #D7D22E #2ED7D2
tetradic
#D22ED7 #D77D2E #33D72E #2E87D7
square
#D22ED7 #D77D2E #33D72E #2E87D7
split-complementary
#D22ED7 #87D72E #2ED77D
monochromatic
#721674 #A420A8 #D22ED7 #DD61E1 #E895EB

Accessibility & contrast

On white

4.11
#D22ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D22ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22ED7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22ED7#FFFFFF#000000##000000
##D22ED71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#5B84D3
Tritanopia (blue-blind)
#D84E83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d22ed7;
/* rgb */ color: rgb(210, 46, 215);
/* oklch */ color: oklch(62.5% 0.261 326.8);
Tailwind
colors: {
  custom: {
    50: '#e47be4',
    500: '#d22ed7',
    950: '#000000',
  },
}
SCSS
$custom: #d22ed7;
$custom-light: #e47be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d22ed7",
  "rgb": {
    "r": 210,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 298.225,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62495,
    "c": 0.26073,
    "h": 326.8
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

primary
#D22ED7
secondary
#8DD68B
accent
#EB3D42
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D22ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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