#7C159E#7C159E

#7C159E is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.5% C 0.204 H 315.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7C159E
RGBrgb(124, 21, 158)
HSLhsl(285, 77%, 35%)
HSVhsv(285, 87%, 62%)
CMYKcmyk(21.5%, 86.7%, 0%, 38%)
CIE-LABlab(32.46, 59.82, -50.75)
CIE-LCHlch(32.46, 78.45, 319.69°)
OKLaboklab(44.5% 0.1446 -0.1435)
OKLCHoklch(44.5% 0.204 315.2)
XYZxyz(14.7509, 7.2906, 32.9713)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C159E #379E15
analogous
#37159E #7C159E #9E157C
triadic
#7C159E #9E7C15 #159E7C
tetradic
#7C159E #9E3715 #379E15 #157C9E
square
#7C159E #9E3715 #379E15 #157C9E
split-complementary
#7C159E #7C9E15 #159E37
monochromatic
#270732 #520E68 #7C159E #A61CD4 #BF47E7

Accessibility & contrast

On white

8.54
#7C159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C159E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C159E#FFFFFF#000000##FFFFFF
##7C159E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#084F9B
Tritanopia (blue-blind)
#793A5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c159e;
/* rgb */ color: rgb(124, 21, 158);
/* oklch */ color: oklch(44.5% 0.204 315.2);
Tailwind
colors: {
  custom: {
    50: '#a763bb',
    500: '#7c159e',
    950: '#000000',
  },
}
SCSS
$custom: #7c159e;
$custom-light: #a763bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c159e",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 285.109,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.2037,
    "h": 315.2
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#7C159E
secondary
#67C747
accent
#F33564
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C159E

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

Preview Lab → · Contrast checker → · Palette generator →

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