#7E2499#7E2499

#7E2499 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.187 H 317.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7E2499
RGBrgb(126, 36, 153)
HSLhsl(286, 62%, 37%)
HSVhsv(286, 76%, 60%)
CMYKcmyk(17.6%, 76.5%, 0%, 40%)
CIE-LABlab(33.98, 54.68, -45.24)
CIE-LCHlch(33.98, 70.97, 320.40°)
OKLaboklab(45.52% 0.1366 -0.1273)
OKLCHoklch(45.52% 0.187 317)
XYZxyz(14.9840, 7.9979, 30.8853)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2499 #3F9924
analogous
#442499 #7E2499 #99247A
triadic
#7E2499 #997E24 #24997E
tetradic
#7E2499 #994424 #3F9924 #247A99
square
#7E2499 #994424 #3F9924 #247A99
split-complementary
#7E2499 #7A9924 #249944
monochromatic
#2C0D36 #551867 #7E2499 #A730CB #BD5ED9

Accessibility & contrast

On white

8.08
#7E2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7E2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2499
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2499#FFFFFF#000000##FFFFFF
##7E24991.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#7D3D5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e2499;
/* rgb */ color: rgb(126, 36, 153);
/* oklch */ color: oklch(45.5% 0.187 317.0);
Tailwind
colors: {
  custom: {
    50: '#a769b8',
    500: '#7e2499',
    950: '#000000',
  },
}
SCSS
$custom: #7e2499;
$custom-light: #a769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2499",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 286.154,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.18678,
    "h": 317
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#7E2499
secondary
#72BE5B
accent
#E54368
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2499

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

Preview Lab → · Contrast checker → · Palette generator →

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