#7A2485#7A2485

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

Color values

HEX#7A2485
RGBrgb(122, 36, 133)
HSLhsl(293, 57%, 33%)
HSVhsv(293, 73%, 52%)
CMYKcmyk(8.3%, 72.9%, 0%, 47.8%)
CIE-LABlab(32.02, 49.91, -36.11)
CIE-LCHlch(32.02, 61.60, 324.12°)
OKLaboklab(43.57% 0.1334 -0.1007)
OKLCHoklch(43.57% 0.167 322.9)
XYZxyz(12.8901, 7.0935, 22.8760)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2485 #2F8524
analogous
#492485 #7A2485 #85245F
triadic
#7A2485 #857A24 #24857A
tetradic
#7A2485 #854924 #2F8524 #245F85
square
#7A2485 #854924 #2F8524 #245F85
split-complementary
#7A2485 #5F8524 #248549
monochromatic
#220A25 #4E1755 #7A2485 #A631B5 #C253D0

Accessibility & contrast

On white

8.68
#7A2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2485
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2485#FFFFFF#000000##FFFFFF
##7A24851.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014588
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#7C3552
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2485;
/* rgb */ color: rgb(122, 36, 133);
/* oklch */ color: oklch(43.6% 0.167 322.9);
Tailwind
colors: {
  custom: {
    50: '#a468a9',
    500: '#7a2485',
    950: '#000000',
  },
}
SCSS
$custom: #7a2485;
$custom-light: #a468a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2485",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 293.196,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43572,
    "c": 0.16717,
    "h": 322.9
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#7A2485
secondary
#5CB450
accent
#E14759
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A2485

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

Preview Lab → · Contrast checker → · Palette generator →

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