#7D1B95#7D1B95

#7D1B95 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.192 H 318.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7D1B95
RGBrgb(125, 27, 149)
HSLhsl(288, 69%, 35%)
HSVhsv(288, 82%, 58%)
CMYKcmyk(16.1%, 81.9%, 0%, 41.6%)
CIE-LABlab(32.51, 56.66, -45.17)
CIE-LCHlch(32.51, 72.46, 321.44°)
OKLaboklab(44.36% 0.1436 -0.1271)
OKLCHoklch(44.36% 0.192 318.5)
XYZxyz(14.2734, 7.3145, 29.0879)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B95 #33951B
analogous
#401B95 #7D1B95 #951B70
triadic
#7D1B95 #957D1B #1B957D
tetradic
#7D1B95 #95401B #33951B #1B7095
square
#7D1B95 #95401B #33951B #1B7095
split-complementary
#7D1B95 #70951B #1B9540
monochromatic
#26082D #521261 #7D1B95 #A824C9 #C24CDF

Accessibility & contrast

On white

8.53
#7D1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B95
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B95#FFFFFF#000000##FFFFFF
##7D1B951.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#7C3759
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1b95;
/* rgb */ color: rgb(125, 27, 149);
/* oklch */ color: oklch(44.4% 0.192 318.5);
Tailwind
colors: {
  custom: {
    50: '#a765b5',
    500: '#7d1b95',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b95;
$custom-light: #a765b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b95",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 288.197,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.19178,
    "h": 318.5
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#7D1B95
secondary
#62C14B
accent
#EC3C5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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