#7A2387#7A2387

#7A2387 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.170 H 322.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7A2387
RGBrgb(122, 35, 135)
HSLhsl(292, 59%, 33%)
HSVhsv(292, 74%, 53%)
CMYKcmyk(9.6%, 74.1%, 0%, 47.1%)
CIE-LABlab(32.01, 50.67, -37.36)
CIE-LCHlch(32.01, 62.96, 323.60°)
OKLaboklab(43.61% 0.1344 -0.1044)
OKLCHoklch(43.61% 0.17 322.2)
XYZxyz(12.9998, 7.0896, 23.6007)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2387 #308723
analogous
#482387 #7A2387 #872362
triadic
#7A2387 #877A23 #23877A
tetradic
#7A2387 #874823 #308723 #236287
square
#7A2387 #874823 #308723 #236287
split-complementary
#7A2387 #628723 #238748
monochromatic
#220A26 #4E1656 #7A2387 #A630B8 #C252D2

Accessibility & contrast

On white

8.69
#7A2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7A2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2387
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2387#FFFFFF#000000##FFFFFF
##7A23871.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#7B3553
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2387;
/* rgb */ color: rgb(122, 35, 135);
/* oklch */ color: oklch(43.6% 0.170 322.2);
Tailwind
colors: {
  custom: {
    50: '#a467aa',
    500: '#7a2387',
    950: '#000000',
  },
}
SCSS
$custom: #7a2387;
$custom-light: #a467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2387",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 292.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43606,
    "c": 0.17015,
    "h": 322.2
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#7A2387
secondary
#5DB650
accent
#E2465A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2387

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

Preview Lab → · Contrast checker → · Palette generator →

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