#E172F2#E172F2

#E172F2 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.7% C 0.208 H 322.2°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#E172F2
RGBrgb(225, 114, 242)
HSLhsl(292, 83%, 70%)
HSVhsv(292, 53%, 95%)
CMYKcmyk(7%, 52.9%, 0%, 5.1%)
CIE-LABlab(65.32, 61.26, -45.97)
CIE-LCHlch(65.32, 76.59, 323.11°)
OKLaboklab(72.67% 0.1639 -0.1273)
OKLCHoklch(72.67% 0.208 322.2)
XYZxyz(53.0940, 34.4554, 87.8411)
Luminance0.3445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172F2 #83F272
analogous
#A172F2 #E172F2 #F272C3
triadic
#E172F2 #F2E172 #72F2E1
tetradic
#E172F2 #F2A172 #83F272 #72C3F2
square
#E172F2 #F2A172 #83F272 #72C3F2
split-complementary
#E172F2 #C3F272 #72F2A1
monochromatic
#BC14D6 #D53AED #E172F2 #EDAAF7 #F9E2FC

Accessibility & contrast

On white

2.66
#E172F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#E172F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172F2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172F2#FFFFFF#000000##000000
##E172F21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#E483A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e172f2;
/* rgb */ color: rgb(225, 114, 242);
/* oklch */ color: oklch(72.7% 0.208 322.2);
Tailwind
colors: {
  custom: {
    50: '#ed9ff7',
    500: '#e172f2',
    950: '#000000',
  },
}
SCSS
$custom: #e172f2;
$custom-light: #ed9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#e172f2",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 292.031,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.20752,
    "h": 322.2
  },
  "luminance": 0.34453
}

Semantic roles & 50–950 ramp

primary
#E172F2
secondary
#D3F2CE
accent
#E00623
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E172F2

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

Preview Lab → · Contrast checker → · Palette generator →

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