#7E0F72#7E0F72

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

Color values

HEX#7E0F72
RGBrgb(126, 15, 114)
HSLhsl(306, 79%, 28%)
HSVhsv(306, 88%, 49%)
CMYKcmyk(0%, 88.1%, 9.5%, 50.6%)
CIE-LABlab(29.40, 53.85, -28.25)
CIE-LCHlch(29.40, 60.81, 332.31°)
OKLaboklab(41.47% 0.1562 -0.0777)
OKLCHoklch(41.47% 0.174 333.6)
XYZxyz(11.8124, 5.9933, 16.4510)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0F72 #0F7E1B
analogous
#520F7E #7E0F72 #7E0F3B
triadic
#7E0F72 #727E0F #0F727E
tetradic
#7E0F72 #7E520F #0F7E1B #0F3B7E
square
#7E0F72 #7E520F #0F7E1B #0F3B7E
split-complementary
#7E0F72 #3B7E0F #0F7E52
monochromatic
#1B0319 #470841 #7E0F72 #B516A3 #E523D0

Accessibility & contrast

On white

9.55
#7E0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E0F72
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0F72#FFFFFF#000000##FFFFFF
##7E0F721.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#841E43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e0f72;
/* rgb */ color: rgb(126, 15, 114);
/* oklch */ color: oklch(41.5% 0.174 333.6);
Tailwind
colors: {
  custom: {
    50: '#a7609b',
    500: '#7e0f72',
    950: '#000000',
  },
}
SCSS
$custom: #7e0f72;
$custom-light: #a7609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0f72",
  "rgb": {
    "r": 126,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 306.486,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.1744,
    "h": 333.6
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#7E0F72
secondary
#34B542
accent
#F54833
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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