#7E2073#7E2073

#7E2073 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.159 H 333.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7E2073
RGBrgb(126, 32, 115)
HSLhsl(307, 59%, 31%)
HSVhsv(307, 75%, 49%)
CMYKcmyk(0%, 74.6%, 8.7%, 50.6%)
CIE-LABlab(31.13, 49.17, -26.15)
CIE-LCHlch(31.13, 55.69, 331.99°)
OKLaboklab(42.73% 0.142 -0.0717)
OKLCHoklch(42.73% 0.159 333.2)
XYZxyz(12.2153, 6.7075, 16.8677)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2073 #207E2B
analogous
#5A207E #7E2073 #7E2044
triadic
#7E2073 #737E20 #20737E
tetradic
#7E2073 #7E5A20 #207E2B #20447E
square
#7E2073 #7E5A20 #207E2B #20447E
split-complementary
#7E2073 #447E20 #207E5A
monochromatic
#1C071A #4D1446 #7E2073 #AF2CA0 #D048C1

Accessibility & contrast

On white

8.97
#7E2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2073
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2073#FFFFFF#000000##FFFFFF
##7E20731.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4175
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#842947
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2073;
/* rgb */ color: rgb(126, 32, 115);
/* oklch */ color: oklch(42.7% 0.159 333.2);
Tailwind
colors: {
  custom: {
    50: '#a7669b',
    500: '#7e2073',
    950: '#000000',
  },
}
SCSS
$custom: #7e2073;
$custom-light: #a7669b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2073",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 307.021,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.15908,
    "h": 333.2
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#7E2073
secondary
#49B155
accent
#E35845
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E2073

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

Preview Lab → · Contrast checker → · Palette generator →

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