#7E1470#7E1470

#7E1470 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.169 H 334.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7E1470
RGBrgb(126, 20, 112)
HSLhsl(308, 73%, 29%)
HSVhsv(308, 84%, 49%)
CMYKcmyk(0%, 84.1%, 11.1%, 50.6%)
CIE-LABlab(29.68, 52.39, -26.53)
CIE-LCHlch(29.68, 58.72, 333.14°)
OKLaboklab(41.64% 0.1527 -0.0727)
OKLCHoklch(41.64% 0.169 334.5)
XYZxyz(11.7791, 6.1069, 15.8845)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1470 #147E22
analogous
#57147E #7E1470 #7E143B
triadic
#7E1470 #707E14 #14707E
tetradic
#7E1470 #7E5714 #147E22 #143B7E
square
#7E1470 #7E5714 #147E22 #143B7E
split-complementary
#7E1470 #3B7E14 #147E57
monochromatic
#1A0417 #490C41 #7E1470 #B31C9F #DE2EC7

Accessibility & contrast

On white

9.45
#7E1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1470
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1470#FFFFFF#000000##FFFFFF
##7E14701.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#841F42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1470;
/* rgb */ color: rgb(126, 20, 112);
/* oklch */ color: oklch(41.6% 0.169 334.5);
Tailwind
colors: {
  custom: {
    50: '#a76199',
    500: '#7e1470',
    950: '#000000',
  },
}
SCSS
$custom: #7e1470;
$custom-light: #a76199;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1470",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 307.925,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.16912,
    "h": 334.5
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#7E1470
secondary
#3AB34A
accent
#EF5138
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1470

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

Preview Lab → · Contrast checker → · Palette generator →

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