#7C15A0#7C15A0

#7C15A0 is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.7% C 0.205 H 314.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7C15A0
RGBrgb(124, 21, 160)
HSLhsl(284, 77%, 35%)
HSVhsv(284, 87%, 63%)
CMYKcmyk(22.5%, 86.9%, 0%, 37.3%)
CIE-LABlab(32.61, 60.21, -51.72)
CIE-LCHlch(32.61, 79.37, 319.34°)
OKLaboklab(44.65% 0.1441 -0.1463)
OKLCHoklch(44.65% 0.205 314.6)
XYZxyz(14.9244, 7.3600, 33.8854)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C15A0 #39A015
analogous
#3615A0 #7C15A0 #A0157F
triadic
#7C15A0 #A07C15 #15A07C
tetradic
#7C15A0 #A03615 #39A015 #157FA0
square
#7C15A0 #A03615 #39A015 #157FA0
split-complementary
#7C15A0 #7FA015 #15A036
monochromatic
#280734 #520E6A #7C15A0 #A61CD6 #BE48E7

Accessibility & contrast

On white

8.50
#7C15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7C15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C15A0
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C15A0#FFFFFF#000000##FFFFFF
##7C15A01.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#793B5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c15a0;
/* rgb */ color: rgb(124, 21, 160);
/* oklch */ color: oklch(44.7% 0.205 314.6);
Tailwind
colors: {
  custom: {
    50: '#a764bd',
    500: '#7c15a0',
    950: '#000000',
  },
}
SCSS
$custom: #7c15a0;
$custom-light: #a764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c15a0",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 284.46,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44653,
    "c": 0.20537,
    "h": 314.6
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#7C15A0
secondary
#6AC849
accent
#F33466
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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