#7E209A#7E209A

#7E209A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.192 H 316.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7E209A
RGBrgb(126, 32, 154)
HSLhsl(286, 66%, 36%)
HSVhsv(286, 79%, 60%)
CMYKcmyk(18.2%, 79.2%, 0%, 39.6%)
CIE-LABlab(33.57, 56.26, -46.51)
CIE-LCHlch(33.57, 73.00, 320.42°)
OKLaboklab(45.25% 0.14 -0.131)
OKLCHoklch(45.25% 0.192 316.9)
XYZxyz(14.9526, 7.8024, 31.2840)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E209A #3C9A20
analogous
#41209A #7E209A #9A2079
triadic
#7E209A #9A7E20 #209A7E
tetradic
#7E209A #9A4120 #3C9A20 #20799A
square
#7E209A #9A4120 #3C9A20 #20799A
split-complementary
#7E209A #799A20 #209A41
monochromatic
#2B0B35 #551567 #7E209A #A72BCD #BE58DC

Accessibility & contrast

On white

8.20
#7E209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7E209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E209A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E209A#FFFFFF#000000##FFFFFF
##7E209A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#215297
Tritanopia (blue-blind)
#7C3C5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e209a;
/* rgb */ color: rgb(126, 32, 154);
/* oklch */ color: oklch(45.2% 0.192 316.9);
Tailwind
colors: {
  custom: {
    50: '#a767b8',
    500: '#7e209a',
    950: '#000000',
  },
}
SCSS
$custom: #7e209a;
$custom-light: #a767b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e209a",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 286.23,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.19179,
    "h": 316.9
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#7E209A
secondary
#6EC056
accent
#E93F66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E209A

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

Preview Lab → · Contrast checker → · Palette generator →

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