#D22EFF#D22EFF

#D22EFF is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 65.0% C 0.290 H 317.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#D22EFF
RGBrgb(210, 46, 255)
HSLhsl(287, 100%, 59%)
HSVhsv(287, 82%, 100%)
CMYKcmyk(17.6%, 82%, 0%, 0%)
CIE-LABlab(54.95, 85.63, -69.86)
CIE-LCHlch(54.95, 110.51, 320.79°)
OKLaboklab(65.03% 0.2132 -0.197)
OKLCHoklch(65.03% 0.29 317.3)
XYZxyz(45.6027, 22.8777, 96.6021)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22EFF #5BFF2E
analogous
#6A2EFF #D22EFF #FF2EC4
triadic
#D22EFF #FFD22E #2EFFD2
tetradic
#D22EFF #FF6A2E #5BFF2E #2EC4FF
square
#D22EFF #FF6A2E #5BFF2E #2EC4FF
split-complementary
#D22EFF #C4FF2E #2EFF6A
monochromatic
#8C00B3 #BC00F0 #D22EFF #DF6BFF #ECA8FF

Accessibility & contrast

On white

3.77
#D22EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#D22EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22EFF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22EFF#FFFFFF#000000##000000
##D22EFF1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#3288FB
Tritanopia (blue-blind)
#D0629B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d22eff;
/* rgb */ color: rgb(210, 46, 255);
/* oklch */ color: oklch(65.0% 0.290 317.3);
Tailwind
colors: {
  custom: {
    50: '#e57dff',
    500: '#d22eff',
    950: '#000000',
  },
}
SCSS
$custom: #d22eff;
$custom-light: #e57dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d22eff",
  "rgb": {
    "r": 210,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 287.081,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65027,
    "c": 0.29031,
    "h": 317.3
  },
  "luminance": 0.22876
}

Semantic roles & 50–950 ramp

primary
#D22EFF
secondary
#ADED9B
accent
#FF2957
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#170B18
muted
#857C86

Preview Lab

Preview with #D22EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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