#7C18A0#7C18A0

#7C18A0 is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.8% C 0.203 H 314.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7C18A0
RGBrgb(124, 24, 160)
HSLhsl(284, 74%, 36%)
HSVhsv(284, 85%, 63%)
CMYKcmyk(22.5%, 85%, 0%, 37.3%)
CIE-LABlab(32.87, 59.46, -51.30)
CIE-LCHlch(32.87, 78.53, 319.21°)
OKLaboklab(44.83% 0.1422 -0.1451)
OKLCHoklch(44.83% 0.203 314.4)
XYZxyz(14.9829, 7.4770, 33.9048)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C18A0 #3CA018
analogous
#3818A0 #7C18A0 #A01880
triadic
#7C18A0 #A07C18 #18A07C
tetradic
#7C18A0 #A03818 #3CA018 #1880A0
square
#7C18A0 #A03818 #3CA018 #1880A0
split-complementary
#7C18A0 #80A018 #18A038
monochromatic
#2A0836 #53106B #7C18A0 #A520D5 #BD4EE4

Accessibility & contrast

On white

8.42
#7C18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C18A0
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C18A0#FFFFFF#000000##FFFFFF
##7C18A01.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#06509D
Tritanopia (blue-blind)
#793C5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c18a0;
/* rgb */ color: rgb(124, 24, 160);
/* oklch */ color: oklch(44.8% 0.203 314.4);
Tailwind
colors: {
  custom: {
    50: '#a764bd',
    500: '#7c18a0',
    950: '#000000',
  },
}
SCSS
$custom: #7c18a0;
$custom-light: #a764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c18a0",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 284.118,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.20321,
    "h": 314.4
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#7C18A0
secondary
#6DC64D
accent
#F13768
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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