#7D1B85#7D1B85

#7D1B85 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.178 H 324.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7D1B85
RGBrgb(125, 27, 133)
HSLhsl(295, 66%, 31%)
HSVhsv(295, 80%, 52%)
CMYKcmyk(6%, 79.7%, 0%, 47.8%)
CIE-LABlab(31.44, 53.70, -37.01)
CIE-LCHlch(31.44, 65.21, 325.42°)
OKLaboklab(43.26% 0.1456 -0.1032)
OKLCHoklch(43.26% 0.178 324.7)
XYZxyz(13.0827, 6.8382, 22.8166)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B85 #23851B
analogous
#481B85 #7D1B85 #851B58
triadic
#7D1B85 #857D1B #1B857D
tetradic
#7D1B85 #85481B #23851B #1B5885
square
#7D1B85 #85481B #23851B #1B5885
split-complementary
#7D1B85 #58851B #1B8548
monochromatic
#1D061F #4D1152 #7D1B85 #AD25B8 #CD42D9

Accessibility & contrast

On white

8.87
#7D1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B85
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B85#FFFFFF#000000##FFFFFF
##7D1B851.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#802F50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1b85;
/* rgb */ color: rgb(125, 27, 133);
/* oklch */ color: oklch(43.3% 0.178 324.7);
Tailwind
colors: {
  custom: {
    50: '#a664a9',
    500: '#7d1b85',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b85;
$custom-light: #a664a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b85",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 295.472,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.17844,
    "h": 324.7
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#7D1B85
secondary
#4CB844
accent
#E93F4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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