#7D2499#7D2499

#7D2499 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.186 H 316.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7D2499
RGBrgb(125, 36, 153)
HSLhsl(286, 62%, 37%)
HSVhsv(286, 76%, 60%)
CMYKcmyk(18.3%, 76.5%, 0%, 40%)
CIE-LABlab(33.82, 54.48, -45.50)
CIE-LCHlch(33.82, 70.98, 320.13°)
OKLaboklab(45.37% 0.1354 -0.1281)
OKLCHoklch(45.37% 0.186 316.6)
XYZxyz(14.8372, 7.9222, 30.8784)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2499 #409924
analogous
#432499 #7D2499 #99247B
triadic
#7D2499 #997D24 #24997D
tetradic
#7D2499 #994324 #409924 #247B99
square
#7D2499 #994324 #409924 #247B99
split-complementary
#7D2499 #7B9924 #249943
monochromatic
#2C0D36 #551867 #7D2499 #A530CB #BC5ED9

Accessibility & contrast

On white

8.13
#7D2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2499
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2499#FFFFFF#000000##FFFFFF
##7D24991.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2499;
/* rgb */ color: rgb(125, 36, 153);
/* oklch */ color: oklch(45.4% 0.186 316.6);
Tailwind
colors: {
  custom: {
    50: '#a769b8',
    500: '#7d2499',
    950: '#000000',
  },
}
SCSS
$custom: #7d2499;
$custom-light: #a769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2499",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 285.641,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.1864,
    "h": 316.6
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#7D2499
secondary
#73BE5B
accent
#E5436A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2499

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

Preview Lab → · Contrast checker → · Palette generator →

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