#D211E2#D211E2

#D211E2 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.9% C 0.285 H 324.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D211E2
RGBrgb(210, 17, 226)
HSLhsl(295, 86%, 48%)
HSVhsv(295, 92%, 89%)
CMYKcmyk(7.1%, 92.5%, 0%, 11.4%)
CIE-LABlab(51.38, 85.84, -59.34)
CIE-LCHlch(51.38, 104.36, 325.34°)
OKLaboklab(61.94% 0.2312 -0.166)
OKLCHoklch(61.94% 0.285 324.3)
XYZxyz(40.5051, 19.5963, 73.5858)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D211E2 #21E211
analogous
#6A11E2 #D211E2 #E21189
triadic
#D211E2 #E2D211 #11E2D2
tetradic
#D211E2 #E26A11 #21E211 #1189E2
square
#D211E2 #E26A11 #21E211 #1189E2
split-complementary
#D211E2 #89E211 #11E26A
monochromatic
#680870 #9D0DA9 #D211E2 #E340F1 #EB79F5

Accessibility & contrast

On white

4.27
#D211E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D211E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D211E2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D211E2#FFFFFF#000000##000000
##D211E21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#4A81DE
Tritanopia (blue-blind)
#D64986
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d211e2;
/* rgb */ color: rgb(210, 17, 226);
/* oklch */ color: oklch(61.9% 0.285 324.3);
Tailwind
colors: {
  custom: {
    50: '#e574ec',
    500: '#d211e2',
    950: '#000000',
  },
}
SCSS
$custom: #d211e2;
$custom-light: #e574ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d211e2",
  "rgb": {
    "r": 210,
    "g": 17,
    "b": 226
  },
  "hsl": {
    "h": 295.407,
    "s": 86.008,
    "l": 47.647
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.28468,
    "h": 324.3
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#D211E2
secondary
#7BDC73
accent
#FC2C3C
background
#FEF7FE
surface
#FDEEFD
border
#D5C9D5
text
#170A16
muted
#857C84

Preview Lab

Preview with #D211E2

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

Preview Lab → · Contrast checker → · Palette generator →

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