#7E1070#7E1070

#7E1070 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.172 H 334.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7E1070
RGBrgb(126, 16, 112)
HSLhsl(308, 77%, 28%)
HSVhsv(308, 87%, 49%)
CMYKcmyk(0%, 87.3%, 11.1%, 50.6%)
CIE-LABlab(29.35, 53.33, -27.04)
CIE-LCHlch(29.35, 59.80, 333.11°)
OKLaboklab(41.4% 0.1555 -0.0742)
OKLCHoklch(41.4% 0.172 334.5)
XYZxyz(11.7143, 5.9771, 15.8629)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1070 #107E1E
analogous
#55107E #7E1070 #7E1039
triadic
#7E1070 #707E10 #10707E
tetradic
#7E1070 #7E5510 #107E1E #10397E
square
#7E1070 #7E5510 #107E1E #10397E
split-complementary
#7E1070 #397E10 #107E55
monochromatic
#1B0318 #480940 #7E1070 #B417A0 #E325CB

Accessibility & contrast

On white

9.57
#7E1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1070
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1070#FFFFFF#000000##FFFFFF
##7E10701.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#3B4B6E
Tritanopia (blue-blind)
#841D42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1070;
/* rgb */ color: rgb(126, 16, 112);
/* oklch */ color: oklch(41.4% 0.172 334.5);
Tailwind
colors: {
  custom: {
    50: '#a76099',
    500: '#7e1070',
    950: '#000000',
  },
}
SCSS
$custom: #7e1070;
$custom-light: #a76099;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1070",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 307.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.17227,
    "h": 334.5
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#7E1070
secondary
#36B446
accent
#F44C34
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E1070

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

Preview Lab → · Contrast checker → · Palette generator →

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