#7E207E#7E207E

#7E207E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.168 H 328.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7E207E
RGBrgb(126, 32, 126)
HSLhsl(300, 59%, 31%)
HSVhsv(300, 75%, 49%)
CMYKcmyk(0%, 74.6%, 0%, 50.6%)
CIE-LABlab(31.75, 51.04, -32.12)
CIE-LCHlch(31.75, 60.30, 327.82°)
OKLaboklab(43.38% 0.1424 -0.089)
OKLCHoklch(43.38% 0.168 328)
XYZxyz(12.8864, 6.9759, 20.4024)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E207E #207E20
analogous
#4F207E #7E207E #7E204F
triadic
#7E207E #7E7E20 #207E7E
tetradic
#7E207E #7E4F20 #207E20 #204F7E
square
#7E207E #7E4F20 #207E20 #204F7E
split-complementary
#7E207E #4F7E20 #207E4F
monochromatic
#1C071C #4D144D #7E207E #AF2CAF #D048D0

Accessibility & contrast

On white

8.77
#7E207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E207E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E207E#FFFFFF#000000##FFFFFF
##7E207E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#822F4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e207e;
/* rgb */ color: rgb(126, 32, 126);
/* oklch */ color: oklch(43.4% 0.168 328.0);
Tailwind
colors: {
  custom: {
    50: '#a766a4',
    500: '#7e207e',
    950: '#000000',
  },
}
SCSS
$custom: #7e207e;
$custom-light: #a766a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e207e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.16789,
    "h": 328
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#7E207E
secondary
#49B149
accent
#E34545
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E207E

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

Preview Lab → · Contrast checker → · Palette generator →

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