#7C208A#7C208A

#7C208A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.177 H 322.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7C208A
RGBrgb(124, 32, 138)
HSLhsl(292, 62%, 33%)
HSVhsv(292, 77%, 54%)
CMYKcmyk(10.1%, 76.8%, 0%, 45.9%)
CIE-LABlab(32.15, 52.77, -38.97)
CIE-LCHlch(32.15, 65.60, 323.55°)
OKLaboklab(43.84% 0.1395 -0.109)
OKLCHoklch(43.84% 0.177 322)
XYZxyz(13.4157, 7.1539, 24.7140)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C208A #2E8A20
analogous
#47208A #7C208A #8A2063
triadic
#7C208A #8A7C20 #208A7C
tetradic
#7C208A #8A4720 #2E8A20 #20638A
square
#7C208A #8A4720 #2E8A20 #20638A
split-complementary
#7C208A #638A20 #208A47
monochromatic
#230927 #4F1458 #7C208A #A92CBC #C44ED6

Accessibility & contrast

On white

8.64
#7C208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7C208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C208A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C208A#FFFFFF#000000##FFFFFF
##7C208A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#7D3554
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c208a;
/* rgb */ color: rgb(124, 32, 138);
/* oklch */ color: oklch(43.8% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#a566ad',
    500: '#7c208a',
    950: '#000000',
  },
}
SCSS
$custom: #7c208a;
$custom-light: #a566ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c208a",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 292.075,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.17707,
    "h": 322
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#7C208A
secondary
#5BB94D
accent
#E54258
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C208A

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

Preview Lab → · Contrast checker → · Palette generator →

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