#7E1F93#7E1F93

#7E1F93 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.187 H 319.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7E1F93
RGBrgb(126, 31, 147)
HSLhsl(289, 65%, 35%)
HSVhsv(289, 79%, 58%)
CMYKcmyk(14.3%, 78.9%, 0%, 42.4%)
CIE-LABlab(32.97, 55.23, -43.20)
CIE-LCHlch(32.97, 70.12, 321.97°)
OKLaboklab(44.67% 0.1419 -0.1213)
OKLCHoklch(44.67% 0.187 319.5)
XYZxyz(14.3600, 7.5229, 28.2938)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F93 #34931F
analogous
#441F93 #7E1F93 #931F6E
triadic
#7E1F93 #937E1F #1F937E
tetradic
#7E1F93 #93441F #34931F #1F6E93
square
#7E1F93 #93441F #34931F #1F6E93
split-complementary
#7E1F93 #6E931F #1F9344
monochromatic
#270A2E #531460 #7E1F93 #A92AC6 #C252DA

Accessibility & contrast

On white

8.39
#7E1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E1F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F93
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F93#FFFFFF#000000##FFFFFF
##7E1F931.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#295190
Tritanopia (blue-blind)
#7E3859
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e1f93;
/* rgb */ color: rgb(126, 31, 147);
/* oklch */ color: oklch(44.7% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#a767b3',
    500: '#7e1f93',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f93;
$custom-light: #a767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f93",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 289.138,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4467,
    "c": 0.18669,
    "h": 319.5
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#7E1F93
secondary
#64BE50
accent
#E8405E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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