#7A2487#7A2487

#7A2487 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.169 H 322.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7A2487
RGBrgb(122, 36, 135)
HSLhsl(292, 58%, 34%)
HSVhsv(292, 73%, 53%)
CMYKcmyk(9.6%, 73.3%, 0%, 47.1%)
CIE-LABlab(32.14, 50.29, -37.15)
CIE-LCHlch(32.14, 62.52, 323.55°)
OKLaboklab(43.7% 0.1333 -0.1038)
OKLCHoklch(43.7% 0.169 322.1)
XYZxyz(13.0296, 7.1493, 23.6106)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2487 #318724
analogous
#482487 #7A2487 #872462
triadic
#7A2487 #877A24 #24877A
tetradic
#7A2487 #874824 #318724 #246287
square
#7A2487 #874824 #318724 #246287
split-complementary
#7A2487 #628724 #248748
monochromatic
#230A26 #4E1757 #7A2487 #A631B7 #C154D1

Accessibility & contrast

On white

8.64
#7A2487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A2487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2487
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2487#FFFFFF#000000##FFFFFF
##7A24871.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#7B3653
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2487;
/* rgb */ color: rgb(122, 36, 135);
/* oklch */ color: oklch(43.7% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#a468aa',
    500: '#7a2487',
    950: '#000000',
  },
}
SCSS
$custom: #7a2487;
$custom-light: #a468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2487",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 292.121,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.16896,
    "h": 322.1
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#7A2487
secondary
#5EB551
accent
#E1475B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A2487

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

Preview Lab → · Contrast checker → · Palette generator →

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