#7D2096#7D2096

#7D2096 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.188 H 317.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7D2096
RGBrgb(125, 32, 150)
HSLhsl(287, 65%, 36%)
HSVhsv(287, 79%, 59%)
CMYKcmyk(16.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(33.13, 55.28, -44.79)
CIE-LCHlch(33.13, 71.15, 320.98°)
OKLaboklab(44.81% 0.1394 -0.126)
OKLCHoklch(44.81% 0.188 317.9)
XYZxyz(14.4782, 7.5957, 29.5517)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2096 #399620
analogous
#422096 #7D2096 #962074
triadic
#7D2096 #967D20 #20967D
tetradic
#7D2096 #964220 #399620 #207496
square
#7D2096 #964220 #399620 #207496
split-complementary
#7D2096 #749620 #209642
monochromatic
#290A31 #531564 #7D2096 #A72BC8 #BF56DB

Accessibility & contrast

On white

8.34
#7D2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2096
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2096#FFFFFF#000000##FFFFFF
##7D20961.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#255193
Tritanopia (blue-blind)
#7C3A5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2096;
/* rgb */ color: rgb(125, 32, 150);
/* oklch */ color: oklch(44.8% 0.188 317.9);
Tailwind
colors: {
  custom: {
    50: '#a767b5',
    500: '#7d2096',
    950: '#000000',
  },
}
SCSS
$custom: #7d2096;
$custom-light: #a767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2096",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 287.288,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44814,
    "c": 0.18791,
    "h": 317.9
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#7D2096
secondary
#6ABE53
accent
#E84064
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2096

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

Preview Lab → · Contrast checker → · Palette generator →

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