#D22FF2#D22FF2

#D22FF2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 64.2% C 0.280 H 320.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D22FF2
RGBrgb(210, 47, 242)
HSLhsl(290, 88%, 57%)
HSVhsv(290, 81%, 95%)
CMYKcmyk(13.2%, 80.6%, 0%, 5.1%)
CIE-LABlab(54.18, 83.16, -63.84)
CIE-LCHlch(54.18, 104.84, 322.49°)
OKLaboklab(64.22% 0.2148 -0.1793)
OKLCHoklch(64.22% 0.28 320.1)
XYZxyz(43.6199, 22.1478, 85.9645)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FF2 #4FF22F
analogous
#712FF2 #D22FF2 #F22FB0
triadic
#D22FF2 #F2D22F #2FF2D2
tetradic
#D22FF2 #F2712F #4FF22F #2FB0F2
square
#D22FF2 #F2712F #4FF22F #2FB0F2
split-complementary
#D22FF2 #B0F22F #2FF271
monochromatic
#850A9D #B50DD6 #D22FF2 #DE69F6 #EBA2F9

Accessibility & contrast

On white

3.87
#D22FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D22FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FF2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FF2#FFFFFF#000000##000000
##D22FF21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#4587EE
Tritanopia (blue-blind)
#D35C93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d22ff2;
/* rgb */ color: rgb(210, 47, 242);
/* oklch */ color: oklch(64.2% 0.280 320.1);
Tailwind
colors: {
  custom: {
    50: '#e57cf7',
    500: '#d22ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d22ff2;
$custom-light: #e57cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d22ff2",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 242
  },
  "hsl": {
    "h": 290.154,
    "s": 88.235,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.27979,
    "h": 320.1
  },
  "luminance": 0.22145
}

Semantic roles & 50–950 ramp

primary
#D22FF2
secondary
#A4E697
accent
#FE294C
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B17
muted
#847C85

Preview Lab

Preview with #D22FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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