#7A2183#7A2183

#7A2183 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.169 H 323.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7A2183
RGBrgb(122, 33, 131)
HSLhsl(294, 60%, 32%)
HSVhsv(294, 75%, 51%)
CMYKcmyk(6.9%, 74.8%, 0%, 48.6%)
CIE-LABlab(31.50, 50.66, -35.69)
CIE-LCHlch(31.50, 61.97, 324.84°)
OKLaboklab(43.16% 0.1366 -0.0995)
OKLCHoklch(43.16% 0.169 323.9)
XYZxyz(12.6663, 6.8648, 22.1262)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2183 #2A8321
analogous
#492183 #7A2183 #83215B
triadic
#7A2183 #837A21 #21837A
tetradic
#7A2183 #834921 #2A8321 #215B83
square
#7A2183 #834921 #2A8321 #215B83
split-complementary
#7A2183 #5B8321 #218349
monochromatic
#1F0821 #4C1552 #7A2183 #A82DB4 #C64CD2

Accessibility & contrast

On white

8.85
#7A2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2183
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2183#FFFFFF#000000##FFFFFF
##7A21831.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#7C3250
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2183;
/* rgb */ color: rgb(122, 33, 131);
/* oklch */ color: oklch(43.2% 0.169 323.9);
Tailwind
colors: {
  custom: {
    50: '#a466a7',
    500: '#7a2183',
    950: '#000000',
  },
}
SCSS
$custom: #7a2183;
$custom-light: #a466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2183",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 294.49,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.16899,
    "h": 323.9
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#7A2183
secondary
#55B54B
accent
#E34553
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2183

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

Preview Lab → · Contrast checker → · Palette generator →

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