#7A2599#7A2599

#7A2599 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.184 H 315.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7A2599
RGBrgb(122, 37, 153)
HSLhsl(284, 61%, 37%)
HSVhsv(284, 76%, 60%)
CMYKcmyk(20.3%, 75.8%, 0%, 40%)
CIE-LABlab(33.48, 53.50, -46.07)
CIE-LCHlch(33.48, 70.60, 319.26°)
OKLaboklab(45.04% 0.1306 -0.1299)
OKLCHoklch(45.04% 0.184 315.1)
XYZxyz(14.4364, 7.7612, 30.8684)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2599 #449925
analogous
#402599 #7A2599 #99257E
triadic
#7A2599 #997A25 #25997A
tetradic
#7A2599 #994025 #449925 #257E99
square
#7A2599 #994025 #449925 #257E99
split-complementary
#7A2599 #7E9925 #259940
monochromatic
#2B0D36 #531968 #7A2599 #A131CA #B860D9

Accessibility & contrast

On white

8.23
#7A2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2599
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2599#FFFFFF#000000##FFFFFF
##7A25991.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#205196
Tritanopia (blue-blind)
#773F5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2599;
/* rgb */ color: rgb(122, 37, 153);
/* oklch */ color: oklch(45.0% 0.184 315.1);
Tailwind
colors: {
  custom: {
    50: '#a469b8',
    500: '#7a2599',
    950: '#000000',
  },
}
SCSS
$custom: #7a2599;
$custom-light: #a469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2599",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 283.966,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.18419,
    "h": 315.1
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#7A2599
secondary
#76BE5C
accent
#E4446F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2599

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

Preview Lab → · Contrast checker → · Palette generator →

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