#7A2595#7A2595

#7A2595 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.180 H 316.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7A2595
RGBrgb(122, 37, 149)
HSLhsl(286, 60%, 36%)
HSVhsv(286, 75%, 58%)
CMYKcmyk(18.1%, 75.2%, 0%, 41.6%)
CIE-LABlab(33.20, 52.68, -44.08)
CIE-LCHlch(33.20, 68.69, 320.08°)
OKLaboklab(44.75% 0.1311 -0.1241)
OKLCHoklch(44.75% 0.18 316.6)
XYZxyz(14.1116, 7.6312, 29.1576)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2595 #409525
analogous
#422595 #7A2595 #952578
triadic
#7A2595 #957A25 #25957A
tetradic
#7A2595 #954225 #409525 #257895
square
#7A2595 #954225 #409525 #257895
split-complementary
#7A2595 #789525 #259542
monochromatic
#2A0D33 #521964 #7A2595 #A231C6 #BA5ED7

Accessibility & contrast

On white

8.31
#7A2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2595
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2595#FFFFFF#000000##FFFFFF
##7A25951.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2595;
/* rgb */ color: rgb(122, 37, 149);
/* oklch */ color: oklch(44.8% 0.180 316.6);
Tailwind
colors: {
  custom: {
    50: '#a469b5',
    500: '#7a2595',
    950: '#000000',
  },
}
SCSS
$custom: #7a2595;
$custom-light: #a469b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2595",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 285.536,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4475,
    "c": 0.18049,
    "h": 316.6
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#7A2595
secondary
#72BC5A
accent
#E3446B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2595

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

Preview Lab → · Contrast checker → · Palette generator →

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