#FF22E2#FF22E2

#FF22E2 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 69.3% C 0.295 H 335.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#FF22E2
RGBrgb(255, 34, 226)
HSLhsl(308, 100%, 57%)
HSVhsv(308, 87%, 100%)
CMYKcmyk(0%, 86.7%, 11.4%, 0%)
CIE-LABlab(59.80, 91.30, -45.47)
CIE-LCHlch(59.80, 101.99, 333.53°)
OKLaboklab(69.3% 0.267 -0.1247)
OKLCHoklch(69.3% 0.295 335)
XYZxyz(55.5403, 27.9004, 74.3970)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF22E2 #22FF3F
analogous
#AD22FF #FF22E2 #FF2274
triadic
#FF22E2 #E2FF22 #22E2FF
tetradic
#FF22E2 #FFAD22 #22FF3F #2274FF
square
#FF22E2 #FFAD22 #22FF3F #2274FF
split-complementary
#FF22E2 #74FF22 #22FFAD
monochromatic
#A70091 #E400C6 #FF22E2 #FF5FEA #FF9CF2

Accessibility & contrast

On white

3.19
#FF22E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#FF22E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF22E2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF22E2#FFFFFF#000000##000000
##FF22E21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE7
Deuteranopia (green-blind)
#7E9BDD
Tritanopia (blue-blind)
#FF3E88
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ff22e2;
/* rgb */ color: rgb(255, 34, 226);
/* oklch */ color: oklch(69.3% 0.295 335.0);
Tailwind
colors: {
  custom: {
    50: '#ff7feb',
    500: '#ff22e2',
    950: '#000000',
  },
}
SCSS
$custom: #ff22e2;
$custom-light: #ff7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff22e2",
  "rgb": {
    "r": 255,
    "g": 34,
    "b": 226
  },
  "hsl": {
    "h": 307.873,
    "s": 100,
    "l": 56.667
  },
  "oklch": {
    "l": 0.69297,
    "c": 0.29469,
    "h": 335
  },
  "luminance": 0.27895
}

Semantic roles & 50–950 ramp

primary
#FF22E2
secondary
#91EC9D
accent
#FF4529
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#190C16
muted
#877D84

Preview Lab

Preview with #FF22E2

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

Preview Lab → · Contrast checker → · Palette generator →

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