#7E209D#7E209D

#7E209D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.194 H 315.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7E209D
RGBrgb(126, 32, 157)
HSLhsl(285, 66%, 37%)
HSVhsv(285, 80%, 62%)
CMYKcmyk(19.7%, 79.6%, 0%, 38.4%)
CIE-LABlab(33.78, 56.86, -47.99)
CIE-LCHlch(33.78, 74.40, 319.83°)
OKLaboklab(45.46% 0.1395 -0.1354)
OKLCHoklch(45.46% 0.194 315.9)
XYZxyz(15.2055, 7.9036, 32.6163)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E209D #3F9D20
analogous
#40209D #7E209D #9D207E
triadic
#7E209D #9D7E20 #209D7E
tetradic
#7E209D #9D4020 #3F9D20 #207E9D
square
#7E209D #9D4020 #3F9D20 #207E9D
split-complementary
#7E209D #7E9D20 #209D40
monochromatic
#2C0B37 #55166A #7E209D #A72AD0 #BD5ADD

Accessibility & contrast

On white

8.14
#7E209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7E209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E209D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E209D#FFFFFF#000000##FFFFFF
##7E209D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#1D529A
Tritanopia (blue-blind)
#7C3D5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e209d;
/* rgb */ color: rgb(126, 32, 157);
/* oklch */ color: oklch(45.5% 0.194 315.9);
Tailwind
colors: {
  custom: {
    50: '#a867bb',
    500: '#7e209d',
    950: '#000000',
  },
}
SCSS
$custom: #7e209d;
$custom-light: #a867bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e209d",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 285.12,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.19442,
    "h": 315.9
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#7E209D
secondary
#72C157
accent
#E93F69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E209D

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

Preview Lab → · Contrast checker → · Palette generator →

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