#7C15A1#7C15A1

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

Color values

HEX#7C15A1
RGBrgb(124, 21, 161)
HSLhsl(284, 77%, 36%)
HSVhsv(284, 87%, 63%)
CMYKcmyk(23%, 87%, 0%, 36.9%)
CIE-LABlab(32.69, 60.40, -52.20)
CIE-LCHlch(32.69, 79.83, 319.17°)
OKLaboklab(44.73% 0.1438 -0.1477)
OKLCHoklch(44.73% 0.206 314.2)
XYZxyz(15.0123, 7.3952, 34.3479)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C15A1 #3AA115
analogous
#3615A1 #7C15A1 #A11580
triadic
#7C15A1 #A17C15 #15A17C
tetradic
#7C15A1 #A13615 #3AA115 #1580A1
square
#7C15A1 #A13615 #3AA115 #1580A1
split-complementary
#7C15A1 #80A115 #15A136
monochromatic
#290735 #520E6B #7C15A1 #A61CD7 #BD49E7

Accessibility & contrast

On white

8.47
#7C15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C15A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C15A1
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C15A1#FFFFFF#000000##FFFFFF
##7C15A11.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#783B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c15a1;
/* rgb */ color: rgb(124, 21, 161);
/* oklch */ color: oklch(44.7% 0.206 314.2);
Tailwind
colors: {
  custom: {
    50: '#a764be',
    500: '#7c15a1',
    950: '#000000',
  },
}
SCSS
$custom: #7c15a1;
$custom-light: #a764be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c15a1",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 284.143,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44731,
    "c": 0.2062,
    "h": 314.2
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#7C15A1
secondary
#6BC849
accent
#F33467
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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