#7D15A0#7D15A0

#7D15A0 is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.8% C 0.206 H 315.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7D15A0
RGBrgb(125, 21, 160)
HSLhsl(285, 77%, 35%)
HSVhsv(285, 87%, 63%)
CMYKcmyk(21.9%, 86.9%, 0%, 37.3%)
CIE-LABlab(32.78, 60.37, -51.44)
CIE-LCHlch(32.78, 79.32, 319.57°)
OKLaboklab(44.8% 0.1454 -0.1455)
OKLCHoklch(44.8% 0.206 315)
XYZxyz(15.0697, 7.4350, 33.8922)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D15A0 #38A015
analogous
#3715A0 #7D15A0 #A0157D
triadic
#7D15A0 #A07D15 #15A07D
tetradic
#7D15A0 #A03715 #38A015 #157DA0
square
#7D15A0 #A03715 #38A015 #157DA0
split-complementary
#7D15A0 #7DA015 #15A037
monochromatic
#280734 #530E6A #7D15A0 #A71CD6 #BF48E7

Accessibility & contrast

On white

8.44
#7D15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D15A0
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D15A0#FFFFFF#000000##FFFFFF
##7D15A01.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#054F9D
Tritanopia (blue-blind)
#7A3A5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d15a0;
/* rgb */ color: rgb(125, 21, 160);
/* oklch */ color: oklch(44.8% 0.206 315.0);
Tailwind
colors: {
  custom: {
    50: '#a764bd',
    500: '#7d15a0',
    950: '#000000',
  },
}
SCSS
$custom: #7d15a0;
$custom-light: #a764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d15a0",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 284.892,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.448,
    "c": 0.20569,
    "h": 315
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#7D15A0
secondary
#69C849
accent
#F33465
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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