#7C219A#7C219A

#7C219A is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.190 H 316.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7C219A
RGBrgb(124, 33, 154)
HSLhsl(285, 65%, 37%)
HSVhsv(285, 79%, 60%)
CMYKcmyk(19.5%, 78.6%, 0%, 39.6%)
CIE-LABlab(33.36, 55.54, -46.86)
CIE-LCHlch(33.36, 72.66, 319.85°)
OKLaboklab(45.04% 0.1366 -0.1321)
OKLCHoklch(45.04% 0.19 316)
XYZxyz(14.6879, 7.7065, 31.2794)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C219A #3F9A21
analogous
#40219A #7C219A #9A217C
triadic
#7C219A #9A7C21 #219A7C
tetradic
#7C219A #9A4021 #3F9A21 #217C9A
square
#7C219A #9A4021 #3F9A21 #217C9A
split-complementary
#7C219A #7C9A21 #219A40
monochromatic
#2B0B35 #531668 #7C219A #A52CCC #BB5ADC

Accessibility & contrast

On white

8.26
#7C219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7C219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C219A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C219A#FFFFFF#000000##FFFFFF
##7C219A1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#1F5197
Tritanopia (blue-blind)
#7A3D5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c219a;
/* rgb */ color: rgb(124, 33, 154);
/* oklch */ color: oklch(45.0% 0.190 316.0);
Tailwind
colors: {
  custom: {
    50: '#a667b8',
    500: '#7c219a',
    950: '#000000',
  },
}
SCSS
$custom: #7c219a;
$custom-light: #a667b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c219a",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 285.124,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.19007,
    "h": 316
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#7C219A
secondary
#71C057
accent
#E8406A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C219A

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

Preview Lab → · Contrast checker → · Palette generator →

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