#7D1996#7D1996

#7D1996 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.194 H 318.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7D1996
RGBrgb(125, 25, 150)
HSLhsl(288, 71%, 34%)
HSVhsv(288, 83%, 59%)
CMYKcmyk(16.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(32.39, 57.42, -45.98)
CIE-LCHlch(32.39, 73.57, 321.31°)
OKLaboklab(44.29% 0.1449 -0.1295)
OKLCHoklch(44.29% 0.194 318.2)
XYZxyz(14.3093, 7.2579, 29.4954)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1996 #329619
analogous
#3F1996 #7D1996 #961971
triadic
#7D1996 #967D19 #19967D
tetradic
#7D1996 #963F19 #329619 #197196
square
#7D1996 #963F19 #329619 #197196
split-complementary
#7D1996 #719619 #19963F
monochromatic
#26082D #511062 #7D1996 #A922CA #C249E1

Accessibility & contrast

On white

8.57
#7D1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1996
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1996#FFFFFF#000000##FFFFFF
##7D19961.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#7C3759
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1996;
/* rgb */ color: rgb(125, 25, 150);
/* oklch */ color: oklch(44.3% 0.194 318.2);
Tailwind
colors: {
  custom: {
    50: '#a764b6',
    500: '#7d1996',
    950: '#000000',
  },
}
SCSS
$custom: #7d1996;
$custom-light: #a764b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1996",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 288,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44294,
    "c": 0.19434,
    "h": 318.2
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#7D1996
secondary
#61C249
accent
#EE3A5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1996

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

Preview Lab → · Contrast checker → · Palette generator →

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