#7A2496#7A2496

#7A2496 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.183 H 316.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7A2496
RGBrgb(122, 36, 150)
HSLhsl(285, 61%, 36%)
HSVhsv(285, 76%, 59%)
CMYKcmyk(18.7%, 76%, 0%, 41.2%)
CIE-LABlab(33.14, 53.26, -44.79)
CIE-LCHlch(33.14, 69.59, 319.93°)
OKLaboklab(44.73% 0.1319 -0.1262)
OKLCHoklch(44.73% 0.183 316.3)
XYZxyz(14.1611, 7.6019, 29.5696)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2496 #409624
analogous
#412496 #7A2496 #962479
triadic
#7A2496 #967A24 #24967A
tetradic
#7A2496 #964124 #409624 #247996
square
#7A2496 #964124 #409624 #247996
split-complementary
#7A2496 #799624 #249641
monochromatic
#2A0C33 #521865 #7A2496 #A230C7 #BA5CD8

Accessibility & contrast

On white

8.33
#7A2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7A2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2496
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2496#FFFFFF#000000##FFFFFF
##7A24961.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#235094
Tritanopia (blue-blind)
#783D5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2496;
/* rgb */ color: rgb(122, 36, 150);
/* oklch */ color: oklch(44.7% 0.183 316.3);
Tailwind
colors: {
  custom: {
    50: '#a468b5',
    500: '#7a2496',
    950: '#000000',
  },
}
SCSS
$custom: #7a2496;
$custom-light: #a468b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2496",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 285.263,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.18254,
    "h": 316.3
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#7A2496
secondary
#72BD59
accent
#E4436B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2496

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

Preview Lab → · Contrast checker → · Palette generator →

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