#7D1B94#7D1B94

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

Color values

HEX#7D1B94
RGBrgb(125, 27, 148)
HSLhsl(289, 69%, 34%)
HSVhsv(289, 82%, 58%)
CMYKcmyk(15.5%, 81.8%, 0%, 42%)
CIE-LABlab(32.44, 56.47, -44.67)
CIE-LCHlch(32.44, 72.00, 321.66°)
OKLaboklab(44.29% 0.1438 -0.1256)
OKLCHoklch(44.29% 0.191 318.8)
XYZxyz(14.1940, 7.2827, 28.6693)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B94 #32941B
analogous
#411B94 #7D1B94 #941B6F
triadic
#7D1B94 #947D1B #1B947D
tetradic
#7D1B94 #94411B #32941B #1B6F94
square
#7D1B94 #94411B #32941B #1B6F94
split-complementary
#7D1B94 #6F941B #1B9441
monochromatic
#26082C #511260 #7D1B94 #A924C8 #C24BDE

Accessibility & contrast

On white

8.55
#7D1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B94
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B94#FFFFFF#000000##FFFFFF
##7D1B941.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#244F91
Tritanopia (blue-blind)
#7D3758
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1b94;
/* rgb */ color: rgb(125, 27, 148);
/* oklch */ color: oklch(44.3% 0.191 318.8);
Tailwind
colors: {
  custom: {
    50: '#a765b4',
    500: '#7d1b94',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b94;
$custom-light: #a765b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b94",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 288.595,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.19093,
    "h": 318.8
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#7D1B94
secondary
#61C04B
accent
#EC3C5D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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