#7C18A5#7C18A5

#7C18A5 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.207 H 312.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7C18A5
RGBrgb(124, 24, 165)
HSLhsl(283, 75%, 37%)
HSVhsv(283, 85%, 65%)
CMYKcmyk(24.8%, 85.5%, 0%, 35.3%)
CIE-LABlab(33.25, 60.45, -53.70)
CIE-LCHlch(33.25, 80.86, 318.38°)
OKLaboklab(45.22% 0.141 -0.1522)
OKLCHoklch(45.22% 0.207 312.8)
XYZxyz(15.4291, 7.6555, 36.2549)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C18A5 #41A518
analogous
#3518A5 #7C18A5 #A51888
triadic
#7C18A5 #A57C18 #18A57C
tetradic
#7C18A5 #A53518 #41A518 #1888A5
square
#7C18A5 #A53518 #41A518 #1888A5
split-complementary
#7C18A5 #88A518 #18A535
monochromatic
#2C083A #541070 #7C18A5 #A420DA #BB52E6

Accessibility & contrast

On white

8.30
#7C18A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C18A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C18A5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C18A5#FFFFFF#000000##FFFFFF
##7C18A51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#773E62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c18a5;
/* rgb */ color: rgb(124, 24, 165);
/* oklch */ color: oklch(45.2% 0.207 312.8);
Tailwind
colors: {
  custom: {
    50: '#a765c1',
    500: '#7c18a5',
    950: '#000000',
  },
}
SCSS
$custom: #7c18a5;
$custom-light: #a765c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c18a5",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 165
  },
  "hsl": {
    "h": 282.553,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.20747,
    "h": 312.8
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#7C18A5
secondary
#73C851
accent
#F1376D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C18A5

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

Preview Lab → · Contrast checker → · Palette generator →

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