#7D1886#7D1886

#7D1886 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.182 H 324.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7D1886
RGBrgb(125, 24, 134)
HSLhsl(295, 70%, 31%)
HSVhsv(295, 82%, 53%)
CMYKcmyk(6.7%, 82.1%, 0%, 47.5%)
CIE-LABlab(31.20, 54.75, -38.01)
CIE-LCHlch(31.20, 66.66, 325.23°)
OKLaboklab(43.11% 0.1479 -0.1061)
OKLCHoklch(43.11% 0.182 324.3)
XYZxyz(13.0868, 6.7353, 23.1604)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1886 #218618
analogous
#461886 #7D1886 #861858
triadic
#7D1886 #867D18 #18867D
tetradic
#7D1886 #864618 #218618 #185886
square
#7D1886 #864618 #218618 #185886
split-complementary
#7D1886 #588618 #188646
monochromatic
#1C051E #4D0F52 #7D1886 #AD21BA #CF3CDC

Accessibility & contrast

On white

8.95
#7D1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1886
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1886#FFFFFF#000000##FFFFFF
##7D18861.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#802E50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1886;
/* rgb */ color: rgb(125, 24, 134);
/* oklch */ color: oklch(43.1% 0.182 324.3);
Tailwind
colors: {
  custom: {
    50: '#a663aa',
    500: '#7d1886',
    950: '#000000',
  },
}
SCSS
$custom: #7d1886;
$custom-light: #a663aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1886",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 295.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.18202,
    "h": 324.3
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#7D1886
secondary
#4ABA40
accent
#EC3B4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1886

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

Preview Lab → · Contrast checker → · Palette generator →

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