#7A2284#7A2284

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

Color values

HEX#7A2284
RGBrgb(122, 34, 132)
HSLhsl(294, 59%, 33%)
HSVhsv(294, 74%, 52%)
CMYKcmyk(7.6%, 74.2%, 0%, 48.2%)
CIE-LABlab(31.69, 50.48, -36.01)
CIE-LCHlch(31.69, 62.01, 324.50°)
OKLaboklab(43.32% 0.1355 -0.1004)
OKLCHoklch(43.32% 0.169 323.5)
XYZxyz(12.7625, 6.9483, 22.4943)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2284 #2C8422
analogous
#492284 #7A2284 #84225D
triadic
#7A2284 #847A22 #22847A
tetradic
#7A2284 #844922 #2C8422 #225D84
square
#7A2284 #844922 #2C8422 #225D84
split-complementary
#7A2284 #5D8422 #228449
monochromatic
#200923 #4D1553 #7A2284 #A72FB5 #C44FD2

Accessibility & contrast

On white

8.79
#7A2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7A2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2284
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2284#FFFFFF#000000##FFFFFF
##7A22841.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#7C3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2284;
/* rgb */ color: rgb(122, 34, 132);
/* oklch */ color: oklch(43.3% 0.169 323.5);
Tailwind
colors: {
  custom: {
    50: '#a467a8',
    500: '#7a2284',
    950: '#000000',
  },
}
SCSS
$custom: #7a2284;
$custom-light: #a467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2284",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 293.878,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.16869,
    "h": 323.5
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#7A2284
secondary
#57B54D
accent
#E24656
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2284

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

Preview Lab → · Contrast checker → · Palette generator →

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