#7D1A85#7D1A85

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

Color values

HEX#7D1A85
RGBrgb(125, 26, 133)
HSLhsl(296, 67%, 31%)
HSVhsv(296, 80%, 52%)
CMYKcmyk(6%, 80.5%, 0%, 47.8%)
CIE-LABlab(31.33, 54.00, -37.18)
CIE-LCHlch(31.33, 65.56, 325.45°)
OKLaboklab(43.18% 0.1464 -0.1037)
OKLCHoklch(43.18% 0.179 324.7)
XYZxyz(13.0601, 6.7931, 22.8091)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A85 #22851A
analogous
#471A85 #7D1A85 #851A57
triadic
#7D1A85 #857D1A #1A857D
tetradic
#7D1A85 #85471A #22851A #1A5785
square
#7D1A85 #85471A #22851A #1A5785
split-complementary
#7D1A85 #57851A #1A8547
monochromatic
#1D061F #4D1052 #7D1A85 #AD24B8 #CE40DA

Accessibility & contrast

On white

8.90
#7D1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A85
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A85#FFFFFF#000000##FFFFFF
##7D1A851.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1a85;
/* rgb */ color: rgb(125, 26, 133);
/* oklch */ color: oklch(43.2% 0.179 324.7);
Tailwind
colors: {
  custom: {
    50: '#a664a9',
    500: '#7d1a85',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a85;
$custom-light: #a664a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a85",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 295.514,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43181,
    "c": 0.17939,
    "h": 324.7
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#7D1A85
secondary
#4BB842
accent
#EA3E4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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