#7A219C#7A219C

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

Color values

HEX#7A219C
RGBrgb(122, 33, 156)
HSLhsl(283, 65%, 37%)
HSVhsv(283, 79%, 61%)
CMYKcmyk(21.8%, 78.8%, 0%, 38.8%)
CIE-LABlab(33.19, 55.56, -48.37)
CIE-LCHlch(33.19, 73.66, 318.96°)
OKLaboklab(44.9% 0.1337 -0.1366)
OKLCHoklch(44.9% 0.191 314.4)
XYZxyz(14.5696, 7.6261, 32.1506)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A219C #439C21
analogous
#3D219C #7A219C #9C2180
triadic
#7A219C #9C7A21 #219C7A
tetradic
#7A219C #9C3D21 #439C21 #21809C
square
#7A219C #9C3D21 #439C21 #21809C
split-complementary
#7A219C #809C21 #219C3D
monochromatic
#2B0C37 #521669 #7A219C #A22CCF #B95BDC

Accessibility & contrast

On white

8.32
#7A219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A219C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A219C#FFFFFF#000000##FFFFFF
##7A219C1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#175099
Tritanopia (blue-blind)
#773E5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a219c;
/* rgb */ color: rgb(122, 33, 156);
/* oklch */ color: oklch(44.9% 0.191 314.4);
Tailwind
colors: {
  custom: {
    50: '#a567ba',
    500: '#7a219c',
    950: '#000000',
  },
}
SCSS
$custom: #7a219c;
$custom-light: #a567ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a219c",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 283.415,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.449,
    "c": 0.19116,
    "h": 314.4
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#7A219C
secondary
#75C158
accent
#E8406E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A219C

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

Preview Lab → · Contrast checker → · Palette generator →

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