#D22FD2#D22FD2

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

Color values

HEX#D22FD2
RGBrgb(210, 47, 210)
HSLhsl(300, 64%, 50%)
HSVhsv(300, 78%, 82%)
CMYKcmyk(0%, 77.6%, 0%, 17.6%)
CIE-LABlab(52.28, 77.97, -48.79)
CIE-LCHlch(52.28, 91.98, 327.96°)
OKLaboklab(62.27% 0.2177 -0.1354)
OKLCHoklch(62.27% 0.256 328.1)
XYZxyz(39.2273, 20.3908, 62.8300)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FD2 #2FD22F
analogous
#802FD2 #D22FD2 #D22F80
triadic
#D22FD2 #D2D22F #2FD2D2
tetradic
#D22FD2 #D2802F #2FD22F #2F80D2
square
#D22FD2 #D2802F #2FD22F #2F80D2
split-complementary
#D22FD2 #80D22F #2FD280
monochromatic
#6F186F #A123A1 #D22FD2 #DD61DD #E894E8

Accessibility & contrast

On white

4.14
#D22FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D22FD2#FFFFFF#000000##000000
##D22FD21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#5F84CE
Tritanopia (blue-blind)
#D94B81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d22fd2;
/* rgb */ color: rgb(210, 47, 210);
/* oklch */ color: oklch(62.3% 0.256 328.1);
Tailwind
colors: {
  custom: {
    50: '#e47be0',
    500: '#d22fd2',
    950: '#000000',
  },
}
SCSS
$custom: #d22fd2;
$custom-light: #e47be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fd2",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.25633,
    "h": 328.1
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#D22FD2
secondary
#8AD38A
accent
#E74040
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D22FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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