#7E1F90#7E1F90

#7E1F90 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.184 H 320.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7E1F90
RGBrgb(126, 31, 144)
HSLhsl(290, 65%, 34%)
HSVhsv(290, 78%, 56%)
CMYKcmyk(12.5%, 78.5%, 0%, 43.5%)
CIE-LABlab(32.77, 54.66, -41.68)
CIE-LCHlch(32.77, 68.74, 322.67°)
OKLaboklab(44.46% 0.1423 -0.1169)
OKLCHoklch(44.46% 0.184 320.6)
XYZxyz(14.1276, 7.4300, 27.0701)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F90 #31901F
analogous
#451F90 #7E1F90 #901F6A
triadic
#7E1F90 #907E1F #1F907E
tetradic
#7E1F90 #90451F #31901F #1F6A90
square
#7E1F90 #90451F #31901F #1F6A90
split-complementary
#7E1F90 #6A901F #1F9045
monochromatic
#26092B #52145E #7E1F90 #AA2AC2 #C350D9

Accessibility & contrast

On white

8.45
#7E1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F90
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F90#FFFFFF#000000##FFFFFF
##7E1F901.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#7F3757
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e1f90;
/* rgb */ color: rgb(126, 31, 144);
/* oklch */ color: oklch(44.5% 0.184 320.6);
Tailwind
colors: {
  custom: {
    50: '#a766b1',
    500: '#7e1f90',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f90;
$custom-light: #a766b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f90",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 290.442,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44462,
    "c": 0.18411,
    "h": 320.6
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#7E1F90
secondary
#60BC4E
accent
#E8405B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1F90

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

Preview Lab → · Contrast checker → · Palette generator →

#7E1F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva