#7D2596#7D2596

#7D2596 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 317.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7D2596
RGBrgb(125, 37, 150)
HSLhsl(287, 60%, 37%)
HSVhsv(287, 75%, 59%)
CMYKcmyk(16.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(33.74, 53.51, -43.80)
CIE-LCHlch(33.74, 69.14, 320.70°)
OKLaboklab(45.25% 0.1348 -0.1231)
OKLCHoklch(45.25% 0.183 317.6)
XYZxyz(14.6232, 7.8858, 29.6001)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2596 #3E9625
analogous
#452596 #7D2596 #962577
triadic
#7D2596 #967D25 #25967D
tetradic
#7D2596 #964525 #3E9625 #257796
square
#7D2596 #964525 #3E9625 #257796
split-complementary
#7D2596 #779625 #259645
monochromatic
#2B0D34 #541965 #7D2596 #A631C7 #BC5ED7

Accessibility & contrast

On white

8.15
#7D2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2596
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2596#FFFFFF#000000##FFFFFF
##7D25961.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#7C3D5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2596;
/* rgb */ color: rgb(125, 37, 150);
/* oklch */ color: oklch(45.3% 0.183 317.6);
Tailwind
colors: {
  custom: {
    50: '#a669b5',
    500: '#7d2596',
    950: '#000000',
  },
}
SCSS
$custom: #7d2596;
$custom-light: #a669b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2596",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 286.726,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.18258,
    "h": 317.6
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#7D2596
secondary
#70BC5B
accent
#E44467
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2596

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

Preview Lab → · Contrast checker → · Palette generator →

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