#7E207A#7E207A

#7E207A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.165 H 329.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7E207A
RGBrgb(126, 32, 122)
HSLhsl(303, 59%, 31%)
HSVhsv(303, 75%, 49%)
CMYKcmyk(0%, 74.6%, 3.2%, 50.6%)
CIE-LABlab(31.52, 50.34, -29.97)
CIE-LCHlch(31.52, 58.59, 329.24°)
OKLaboklab(43.14% 0.1423 -0.0827)
OKLCHoklch(43.14% 0.165 329.8)
XYZxyz(12.6335, 6.8747, 19.0701)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E207A #207E24
analogous
#53207E #7E207A #7E204B
triadic
#7E207A #7A7E20 #207A7E
tetradic
#7E207A #7E5320 #207E24 #204B7E
square
#7E207A #7E5320 #207E24 #204B7E
split-complementary
#7E207A #4B7E20 #207E53
monochromatic
#1C071B #4D144B #7E207A #AF2CA9 #D048CB

Accessibility & contrast

On white

8.84
#7E207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E207A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E207A#FFFFFF#000000##FFFFFF
##7E207A1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#832D4B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e207a;
/* rgb */ color: rgb(126, 32, 122);
/* oklch */ color: oklch(43.1% 0.165 329.8);
Tailwind
colors: {
  custom: {
    50: '#a766a1',
    500: '#7e207a',
    950: '#000000',
  },
}
SCSS
$custom: #7e207a;
$custom-light: #a766a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e207a",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 302.553,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.16464,
    "h": 329.8
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#7E207A
secondary
#49B14D
accent
#E34C45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7E207A

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

Preview Lab → · Contrast checker → · Palette generator →

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