#7E1885#7E1885

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

Color values

HEX#7E1885
RGBrgb(126, 24, 133)
HSLhsl(296, 69%, 31%)
HSVhsv(296, 82%, 52%)
CMYKcmyk(5.3%, 82%, 0%, 47.8%)
CIE-LABlab(31.31, 54.78, -37.20)
CIE-LCHlch(31.31, 66.22, 325.82°)
OKLaboklab(43.2% 0.1491 -0.1037)
OKLCHoklch(43.2% 0.182 325.2)
XYZxyz(13.1641, 6.7832, 22.8017)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1885 #1F8518
analogous
#471885 #7E1885 #851855
triadic
#7E1885 #857E18 #18857E
tetradic
#7E1885 #854718 #1F8518 #185585
square
#7E1885 #854718 #1F8518 #185585
split-complementary
#7E1885 #558518 #188547
monochromatic
#1C051D #4D0F51 #7E1885 #AF21B9 #D13CDC

Accessibility & contrast

On white

8.91
#7E1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1885
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1885#FFFFFF#000000##FFFFFF
##7E18851.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1885;
/* rgb */ color: rgb(126, 24, 133);
/* oklch */ color: oklch(43.2% 0.182 325.2);
Tailwind
colors: {
  custom: {
    50: '#a763a9',
    500: '#7e1885',
    950: '#000000',
  },
}
SCSS
$custom: #7e1885;
$custom-light: #a763a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1885",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 296.147,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.18166,
    "h": 325.2
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#7E1885
secondary
#48B940
accent
#EC3C47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1885

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

Preview Lab → · Contrast checker → · Palette generator →

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