#7E208A#7E208A

#7E208A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 322.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7E208A
RGBrgb(126, 32, 138)
HSLhsl(293, 62%, 33%)
HSVhsv(293, 77%, 54%)
CMYKcmyk(8.7%, 76.8%, 0%, 45.9%)
CIE-LABlab(32.49, 53.20, -38.42)
CIE-LCHlch(32.49, 65.62, 324.16°)
OKLaboklab(44.14% 0.1419 -0.1073)
OKLCHoklch(44.14% 0.178 322.9)
XYZxyz(13.7077, 7.3044, 24.7277)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E208A #2C8A20
analogous
#49208A #7E208A #8A2061
triadic
#7E208A #8A7E20 #208A7E
tetradic
#7E208A #8A4920 #2C8A20 #20618A
square
#7E208A #8A4920 #2C8A20 #20618A
split-complementary
#7E208A #618A20 #208A49
monochromatic
#230927 #511458 #7E208A #AB2CBC #C74ED6

Accessibility & contrast

On white

8.53
#7E208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7E208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E208A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E208A#FFFFFF#000000##FFFFFF
##7E208A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#803454
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e208a;
/* rgb */ color: rgb(126, 32, 138);
/* oklch */ color: oklch(44.1% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#a767ad',
    500: '#7e208a',
    950: '#000000',
  },
}
SCSS
$custom: #7e208a;
$custom-light: #a767ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e208a",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 293.208,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.17794,
    "h": 322.9
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#7E208A
secondary
#59B94D
accent
#E54255
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E208A

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

Preview Lab → · Contrast checker → · Palette generator →

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