#7C207A#7C207A

#7C207A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.164 H 328.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7C207A
RGBrgb(124, 32, 122)
HSLhsl(301, 59%, 31%)
HSVhsv(301, 74%, 49%)
CMYKcmyk(0%, 74.2%, 1.6%, 51.4%)
CIE-LABlab(31.17, 49.87, -30.54)
CIE-LCHlch(31.17, 58.48, 328.51°)
OKLaboklab(42.82% 0.1401 -0.0845)
OKLCHoklch(42.82% 0.164 328.9)
XYZxyz(12.3414, 6.7242, 19.0565)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C207A #207C22
analogous
#50207C #7C207A #7C204C
triadic
#7C207A #7A7C20 #207A7C
tetradic
#7C207A #7C5020 #207C22 #204C7C
square
#7C207A #7C5020 #207C22 #204C7C
split-complementary
#7C207A #4C7C20 #207C50
monochromatic
#1B071A #4B134A #7C207A #AD2DAA #CF47CD

Accessibility & contrast

On white

8.96
#7C207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7C207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C207A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C207A#FFFFFF#000000##FFFFFF
##7C207A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427C
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#802D4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c207a;
/* rgb */ color: rgb(124, 32, 122);
/* oklch */ color: oklch(42.8% 0.164 328.9);
Tailwind
colors: {
  custom: {
    50: '#a566a1',
    500: '#7c207a',
    950: '#000000',
  },
}
SCSS
$custom: #7c207a;
$custom-light: #a566a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c207a",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 301.304,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.16357,
    "h": 328.9
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#7C207A
secondary
#49AF4B
accent
#E24946
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C207A

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

Preview Lab → · Contrast checker → · Palette generator →

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