#7D2599#7D2599

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

Color values

HEX#7D2599
RGBrgb(125, 37, 153)
HSLhsl(286, 61%, 37%)
HSVhsv(286, 76%, 60%)
CMYKcmyk(18.3%, 75.8%, 0%, 40%)
CIE-LABlab(33.95, 54.11, -45.30)
CIE-LCHlch(33.95, 70.57, 320.07°)
OKLaboklab(45.46% 0.1344 -0.1275)
OKLCHoklch(45.46% 0.185 316.5)
XYZxyz(14.8679, 7.9836, 30.8886)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2599 #419925
analogous
#432599 #7D2599 #99257B
triadic
#7D2599 #997D25 #25997D
tetradic
#7D2599 #994325 #419925 #257B99
square
#7D2599 #994325 #419925 #257B99
split-complementary
#7D2599 #7B9925 #259943
monochromatic
#2C0D36 #551968 #7D2599 #A531CA #BB60D9

Accessibility & contrast

On white

8.09
#7D2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2599
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2599#FFFFFF#000000##FFFFFF
##7D25991.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#7B3E5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2599;
/* rgb */ color: rgb(125, 37, 153);
/* oklch */ color: oklch(45.5% 0.185 316.5);
Tailwind
colors: {
  custom: {
    50: '#a669b8',
    500: '#7d2599',
    950: '#000000',
  },
}
SCSS
$custom: #7d2599;
$custom-light: #a669b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2599",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 285.517,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.1853,
    "h": 316.5
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#7D2599
secondary
#74BE5C
accent
#E4446A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2599

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

Preview Lab → · Contrast checker → · Palette generator →

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