#7E199D#7E199D

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

Color values

HEX#7E199D
RGBrgb(126, 25, 157)
HSLhsl(286, 73%, 36%)
HSVhsv(286, 84%, 62%)
CMYKcmyk(19.7%, 84.1%, 0%, 38.4%)
CIE-LABlab(33.06, 58.95, -49.15)
CIE-LCHlch(33.06, 76.75, 320.18°)
OKLaboklab(44.96% 0.1448 -0.1388)
OKLCHoklch(44.96% 0.201 316.2)
XYZxyz(15.0367, 7.5658, 32.5600)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E199D #389D19
analogous
#3C199D #7E199D #9D197A
triadic
#7E199D #9D7E19 #199D7E
tetradic
#7E199D #9D3C19 #389D19 #197A9D
square
#7E199D #9D3C19 #389D19 #197A9D
split-complementary
#7E199D #7A9D19 #199D3C
monochromatic
#290833 #541168 #7E199D #A821D2 #C04EE3

Accessibility & contrast

On white

8.36
#7E199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7E199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E199D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E199D#FFFFFF#000000##FFFFFF
##7E199D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#16509A
Tritanopia (blue-blind)
#7C3A5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e199d;
/* rgb */ color: rgb(126, 25, 157);
/* oklch */ color: oklch(45.0% 0.201 316.2);
Tailwind
colors: {
  custom: {
    50: '#a865bb',
    500: '#7e199d',
    950: '#000000',
  },
}
SCSS
$custom: #7e199d;
$custom-light: #a865bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e199d",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 285.909,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.20057,
    "h": 316.2
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#7E199D
secondary
#69C54D
accent
#EF3963
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E199D

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

Preview Lab → · Contrast checker → · Palette generator →

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