#7C218A#7C218A

#7C218A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.176 H 321.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7C218A
RGBrgb(124, 33, 138)
HSLhsl(292, 61%, 34%)
HSVhsv(292, 76%, 54%)
CMYKcmyk(10.1%, 76.1%, 0%, 45.9%)
CIE-LABlab(32.28, 52.42, -38.78)
CIE-LCHlch(32.28, 65.20, 323.51°)
OKLaboklab(43.92% 0.1386 -0.1085)
OKLCHoklch(43.92% 0.176 321.9)
XYZxyz(13.4430, 7.2085, 24.7231)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C218A #2F8A21
analogous
#47218A #7C218A #8A2163
triadic
#7C218A #8A7C21 #218A7C
tetradic
#7C218A #8A4721 #2F8A21 #21638A
square
#7C218A #8A4721 #2F8A21 #21638A
split-complementary
#7C218A #638A21 #218A47
monochromatic
#230927 #501559 #7C218A #A82DBB #C350D5

Accessibility & contrast

On white

8.60
#7C218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C218A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C218A#FFFFFF#000000##FFFFFF
##7C218A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c218a;
/* rgb */ color: rgb(124, 33, 138);
/* oklch */ color: oklch(43.9% 0.176 321.9);
Tailwind
colors: {
  custom: {
    50: '#a567ad',
    500: '#7c218a',
    950: '#000000',
  },
}
SCSS
$custom: #7c218a;
$custom-light: #a567ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c218a",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 292,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.17597,
    "h": 321.9
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#7C218A
secondary
#5CB94E
accent
#E54359
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C218A

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

Preview Lab → · Contrast checker → · Palette generator →

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