#7B2499#7B2499

#7B2499 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.186 H 315.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7B2499
RGBrgb(123, 36, 153)
HSLhsl(285, 62%, 37%)
HSVhsv(285, 76%, 60%)
CMYKcmyk(19.6%, 76.5%, 0%, 40%)
CIE-LABlab(33.51, 54.07, -46.03)
CIE-LCHlch(33.51, 71.01, 319.60°)
OKLaboklab(45.08% 0.1328 -0.1297)
OKLCHoklch(45.08% 0.186 315.7)
XYZxyz(14.5481, 7.7732, 30.8649)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2499 #429924
analogous
#402499 #7B2499 #99247D
triadic
#7B2499 #997B24 #24997B
tetradic
#7B2499 #994024 #429924 #247D99
square
#7B2499 #994024 #429924 #247D99
split-complementary
#7B2499 #7D9924 #249940
monochromatic
#2B0D36 #531867 #7B2499 #A330CB #BA5ED9

Accessibility & contrast

On white

8.22
#7B2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2499
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2499#FFFFFF#000000##FFFFFF
##7B24991.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#215196
Tritanopia (blue-blind)
#793E5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2499;
/* rgb */ color: rgb(123, 36, 153);
/* oklch */ color: oklch(45.1% 0.186 315.7);
Tailwind
colors: {
  custom: {
    50: '#a569b8',
    500: '#7b2499',
    950: '#000000',
  },
}
SCSS
$custom: #7b2499;
$custom-light: #a569b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2499",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 284.615,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.18566,
    "h": 315.7
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#7B2499
secondary
#74BE5B
accent
#E5436C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2499

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

Preview Lab → · Contrast checker → · Palette generator →

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