#7E208E#7E208E

#7E208E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.181 H 321.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7E208E
RGBrgb(126, 32, 142)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 77%, 56%)
CMYKcmyk(11.3%, 77.5%, 0%, 44.3%)
CIE-LABlab(32.75, 53.95, -40.47)
CIE-LCHlch(32.75, 67.44, 323.12°)
OKLaboklab(44.41% 0.1416 -0.1133)
OKLCHoklch(44.41% 0.181 321.3)
XYZxyz(14.0026, 7.4224, 26.2811)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E208E #308E20
analogous
#47208E #7E208E #8E2067
triadic
#7E208E #8E7E20 #208E7E
tetradic
#7E208E #8E4720 #308E20 #20678E
square
#7E208E #8E4720 #308E20 #20678E
split-complementary
#7E208E #678E20 #208E47
monochromatic
#25092A #52155C #7E208E #AA2BC0 #C451D8

Accessibility & contrast

On white

8.45
#7E208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7E208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E208E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E208E#FFFFFF#000000##FFFFFF
##7E208E1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#2E508C
Tritanopia (blue-blind)
#7F3656
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e208e;
/* rgb */ color: rgb(126, 32, 142);
/* oklch */ color: oklch(44.4% 0.181 321.3);
Tailwind
colors: {
  custom: {
    50: '#a767b0',
    500: '#7e208e',
    950: '#000000',
  },
}
SCSS
$custom: #7e208e;
$custom-light: #a767b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e208e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 291.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.18136,
    "h": 321.3
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#7E208E
secondary
#5FBB4F
accent
#E6425A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E208E

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

Preview Lab → · Contrast checker → · Palette generator →

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