#7E199E#7E199E

#7E199E is a mid, highly saturated purple. Relative luminance 0.076; OKLCH L 45.0% C 0.201 H 315.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7E199E
RGBrgb(126, 25, 158)
HSLhsl(286, 73%, 36%)
HSVhsv(286, 84%, 62%)
CMYKcmyk(20.3%, 84.2%, 0%, 38%)
CIE-LABlab(33.14, 59.14, -49.64)
CIE-LCHlch(33.14, 77.21, 319.99°)
OKLaboklab(45.04% 0.1446 -0.1402)
OKLCHoklch(45.04% 0.201 315.9)
XYZxyz(15.1224, 7.6001, 33.0115)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E199E #399E19
analogous
#3B199E #7E199E #9E197B
triadic
#7E199E #9E7E19 #199E7E
tetradic
#7E199E #9E3B19 #399E19 #197B9E
square
#7E199E #9E3B19 #399E19 #197B9E
split-complementary
#7E199E #7B9E19 #199E3B
monochromatic
#2A0834 #541169 #7E199E #A821D3 #BF4EE3

Accessibility & contrast

On white

8.33
#7E199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7E199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E199E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E199E#FFFFFF#000000##FFFFFF
##7E199E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#7C3B5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e199e;
/* rgb */ color: rgb(126, 25, 158);
/* oklch */ color: oklch(45.0% 0.201 315.9);
Tailwind
colors: {
  custom: {
    50: '#a865bb',
    500: '#7e199e',
    950: '#000000',
  },
}
SCSS
$custom: #7e199e;
$custom-light: #a865bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e199e",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 285.564,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.20141,
    "h": 315.9
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#7E199E
secondary
#6AC54E
accent
#EF3864
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E199E

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

Preview Lab → · Contrast checker → · Palette generator →

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