#7E15A0#7E15A0

#7E15A0 is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.9% C 0.206 H 315.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7E15A0
RGBrgb(126, 21, 160)
HSLhsl(285, 77%, 35%)
HSVhsv(285, 87%, 63%)
CMYKcmyk(21.2%, 86.9%, 0%, 37.3%)
CIE-LABlab(32.94, 60.54, -51.17)
CIE-LCHlch(32.94, 79.27, 319.79°)
OKLaboklab(44.95% 0.1467 -0.1446)
OKLCHoklch(44.95% 0.206 315.4)
XYZxyz(15.2165, 7.5106, 33.8990)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E15A0 #37A015
analogous
#3915A0 #7E15A0 #A0157C
triadic
#7E15A0 #A07E15 #15A07E
tetradic
#7E15A0 #A03915 #37A015 #157CA0
square
#7E15A0 #A03915 #37A015 #157CA0
split-complementary
#7E15A0 #7CA015 #15A039
monochromatic
#290734 #530E6A #7E15A0 #A91CD6 #C048E7

Accessibility & contrast

On white

8.39
#7E15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E15A0
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E15A0#FFFFFF#000000##FFFFFF
##7E15A01.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#0A509D
Tritanopia (blue-blind)
#7B3A5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e15a0;
/* rgb */ color: rgb(126, 21, 160);
/* oklch */ color: oklch(44.9% 0.206 315.4);
Tailwind
colors: {
  custom: {
    50: '#a864bd',
    500: '#7e15a0',
    950: '#000000',
  },
}
SCSS
$custom: #7e15a0;
$custom-light: #a864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e15a0",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 285.324,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.20601,
    "h": 315.4
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#7E15A0
secondary
#68C849
accent
#F33463
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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