#7E1073#7E1073

#7E1073 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.174 H 333.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7E1073
RGBrgb(126, 16, 115)
HSLhsl(306, 77%, 28%)
HSVhsv(306, 87%, 49%)
CMYKcmyk(0%, 87.3%, 8.7%, 50.6%)
CIE-LABlab(29.53, 53.79, -28.69)
CIE-LCHlch(29.53, 60.96, 331.93°)
OKLaboklab(41.58% 0.1555 -0.0789)
OKLCHoklch(41.58% 0.174 333.1)
XYZxyz(11.8841, 6.0451, 16.7573)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1073 #107E1B
analogous
#52107E #7E1073 #7E103C
triadic
#7E1073 #737E10 #10737E
tetradic
#7E1073 #7E5210 #107E1B #103C7E
square
#7E1073 #7E5210 #107E1B #103C7E
split-complementary
#7E1073 #3C7E10 #107E52
monochromatic
#1B0319 #480941 #7E1073 #B417A5 #E325D0

Accessibility & contrast

On white

9.51
#7E1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1073
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1073#FFFFFF#000000##FFFFFF
##7E10731.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#841F43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1073;
/* rgb */ color: rgb(126, 16, 115);
/* oklch */ color: oklch(41.6% 0.174 333.1);
Tailwind
colors: {
  custom: {
    50: '#a7609b',
    500: '#7e1073',
    950: '#000000',
  },
}
SCSS
$custom: #7e1073;
$custom-light: #a7609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1073",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 306,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.17441,
    "h": 333.1
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#7E1073
secondary
#36B442
accent
#F44734
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E1073

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

Preview Lab → · Contrast checker → · Palette generator →

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