#7A2185#7A2185

#7A2185 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.171 H 323.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7A2185
RGBrgb(122, 33, 133)
HSLhsl(293, 60%, 33%)
HSVhsv(293, 75%, 52%)
CMYKcmyk(8.3%, 75.2%, 0%, 47.8%)
CIE-LABlab(31.62, 51.04, -36.74)
CIE-LCHlch(31.62, 62.88, 324.25°)
OKLaboklab(43.29% 0.1365 -0.1026)
OKLCHoklch(43.29% 0.171 323.1)
XYZxyz(12.8031, 6.9195, 22.8470)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2185 #2C8521
analogous
#482185 #7A2185 #85215E
triadic
#7A2185 #857A21 #21857A
tetradic
#7A2185 #854821 #2C8521 #215E85
square
#7A2185 #854821 #2C8521 #215E85
split-complementary
#7A2185 #5E8521 #218548
monochromatic
#200923 #4D1554 #7A2185 #A72DB6 #C44DD3

Accessibility & contrast

On white

8.81
#7A2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2185
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2185#FFFFFF#000000##FFFFFF
##7A21851.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#7C3351
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2185;
/* rgb */ color: rgb(122, 33, 133);
/* oklch */ color: oklch(43.3% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#a466a9',
    500: '#7a2185',
    950: '#000000',
  },
}
SCSS
$custom: #7a2185;
$custom-light: #a466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2185",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 293.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.17073,
    "h": 323.1
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#7A2185
secondary
#57B64C
accent
#E34456
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2185

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

Preview Lab → · Contrast checker → · Palette generator →

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