#7D1885#7D1885

#7D1885 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 324.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7D1885
RGBrgb(125, 24, 133)
HSLhsl(296, 69%, 31%)
HSVhsv(296, 82%, 52%)
CMYKcmyk(6%, 82%, 0%, 47.8%)
CIE-LABlab(31.13, 54.58, -37.49)
CIE-LCHlch(31.13, 66.21, 325.51°)
OKLaboklab(43.04% 0.148 -0.1046)
OKLCHoklch(43.04% 0.181 324.7)
XYZxyz(13.0174, 6.7076, 22.7948)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1885 #208518
analogous
#461885 #7D1885 #851856
triadic
#7D1885 #857D18 #18857D
tetradic
#7D1885 #854618 #208518 #185685
square
#7D1885 #854618 #208518 #185685
split-complementary
#7D1885 #568518 #188546
monochromatic
#1C051D #4C0F51 #7D1885 #AE21B9 #D03CDC

Accessibility & contrast

On white

8.97
#7D1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7D1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1885
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1885#FFFFFF#000000##FFFFFF
##7D18851.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#802E4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1885;
/* rgb */ color: rgb(125, 24, 133);
/* oklch */ color: oklch(43.0% 0.181 324.7);
Tailwind
colors: {
  custom: {
    50: '#a663a9',
    500: '#7d1885',
    950: '#000000',
  },
}
SCSS
$custom: #7d1885;
$custom-light: #a663a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1885",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 295.596,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.18122,
    "h": 324.7
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#7D1885
secondary
#49B940
accent
#EC3C49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1885

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

Preview Lab → · Contrast checker → · Palette generator →

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