#7A2189#7A2189

#7A2189 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 321.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7A2189
RGBrgb(122, 33, 137)
HSLhsl(291, 61%, 33%)
HSVhsv(291, 76%, 54%)
CMYKcmyk(10.9%, 75.9%, 0%, 46.3%)
CIE-LABlab(31.88, 51.79, -38.81)
CIE-LCHlch(31.88, 64.72, 323.15°)
OKLaboklab(43.55% 0.1362 -0.1086)
OKLCHoklch(43.55% 0.174 321.4)
XYZxyz(13.0848, 7.0322, 24.3302)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2189 #308921
analogous
#462189 #7A2189 #892164
triadic
#7A2189 #897A21 #21897A
tetradic
#7A2189 #894621 #308921 #216489
square
#7A2189 #894621 #308921 #216489
split-complementary
#7A2189 #648921 #218946
monochromatic
#220926 #4E1558 #7A2189 #A62DBA #C250D5

Accessibility & contrast

On white

8.73
#7A2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2189
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2189#FFFFFF#000000##FFFFFF
##7A21891.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#7B3553
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2189;
/* rgb */ color: rgb(122, 33, 137);
/* oklch */ color: oklch(43.6% 0.174 321.4);
Tailwind
colors: {
  custom: {
    50: '#a466ac',
    500: '#7a2189',
    950: '#000000',
  },
}
SCSS
$custom: #7a2189;
$custom-light: #a466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2189",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 291.346,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43554,
    "c": 0.17422,
    "h": 321.4
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#7A2189
secondary
#5DB84E
accent
#E4445B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2189

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

Preview Lab → · Contrast checker → · Palette generator →

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