#E172F1#E172F1

#E172F1 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.6% C 0.207 H 322.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#E172F1
RGBrgb(225, 114, 241)
HSLhsl(292, 82%, 70%)
HSVhsv(292, 53%, 95%)
CMYKcmyk(6.6%, 52.7%, 0%, 5.5%)
CIE-LABlab(65.28, 61.07, -45.50)
CIE-LCHlch(65.28, 76.16, 323.32°)
OKLaboklab(72.62% 0.1638 -0.1259)
OKLCHoklch(72.62% 0.207 322.4)
XYZxyz(52.9442, 34.3955, 87.0522)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172F1 #82F172
analogous
#A272F1 #E172F1 #F172C2
triadic
#E172F1 #F1E172 #72F1E1
tetradic
#E172F1 #F1A272 #82F172 #72C2F1
square
#E172F1 #F1A272 #82F172 #72C2F1
split-complementary
#E172F1 #C2F172 #72F1A2
monochromatic
#BC15D4 #D53AEB #E172F1 #EDAAF7 #F9E1FC

Accessibility & contrast

On white

2.67
#E172F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#E172F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172F1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172F1#FFFFFF#000000##000000
##E172F11.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F5
Deuteranopia (green-blind)
#81A3ED
Tritanopia (blue-blind)
#E483A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e172f1;
/* rgb */ color: rgb(225, 114, 241);
/* oklch */ color: oklch(72.6% 0.207 322.4);
Tailwind
colors: {
  custom: {
    50: '#ed9ff6',
    500: '#e172f1',
    950: '#000000',
  },
}
SCSS
$custom: #e172f1;
$custom-light: #ed9ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#e172f1",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 241
  },
  "hsl": {
    "h": 292.441,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72622,
    "c": 0.20658,
    "h": 322.4
  },
  "luminance": 0.34393
}

Semantic roles & 50–950 ramp

primary
#E172F1
secondary
#D2F2CD
accent
#DE0722
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E172F1

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

Preview Lab → · Contrast checker → · Palette generator →

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