#7B219A#7B219A

#7B219A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.190 H 315.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7B219A
RGBrgb(123, 33, 154)
HSLhsl(285, 65%, 37%)
HSVhsv(285, 79%, 60%)
CMYKcmyk(20.1%, 78.6%, 0%, 39.6%)
CIE-LABlab(33.21, 55.34, -47.12)
CIE-LCHlch(33.21, 72.69, 319.59°)
OKLaboklab(44.9% 0.1353 -0.1329)
OKLCHoklch(44.9% 0.19 315.5)
XYZxyz(14.5440, 7.6323, 31.2727)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B219A #409A21
analogous
#3F219A #7B219A #9A217D
triadic
#7B219A #9A7B21 #219A7B
tetradic
#7B219A #9A3F21 #409A21 #217D9A
square
#7B219A #9A3F21 #409A21 #217D9A
split-complementary
#7B219A #7D9A21 #219A3F
monochromatic
#2A0B35 #531668 #7B219A #A32CCC #BA5ADC

Accessibility & contrast

On white

8.31
#7B219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B219A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B219A#FFFFFF#000000##FFFFFF
##7B219A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#1D5097
Tritanopia (blue-blind)
#793D5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b219a;
/* rgb */ color: rgb(123, 33, 154);
/* oklch */ color: oklch(44.9% 0.190 315.5);
Tailwind
colors: {
  custom: {
    50: '#a567b8',
    500: '#7b219a',
    950: '#000000',
  },
}
SCSS
$custom: #7b219a;
$custom-light: #a567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b219a",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 284.628,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.18971,
    "h": 315.5
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#7B219A
secondary
#72C057
accent
#E8406B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B219A

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

Preview Lab → · Contrast checker → · Palette generator →

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