#7D1E85#7D1E85

#7D1E85 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.175 H 324.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7D1E85
RGBrgb(125, 30, 133)
HSLhsl(295, 63%, 32%)
HSVhsv(295, 77%, 52%)
CMYKcmyk(6%, 77.4%, 0%, 47.8%)
CIE-LABlab(31.77, 52.74, -36.48)
CIE-LCHlch(31.77, 64.13, 325.33°)
OKLaboklab(43.49% 0.1429 -0.1017)
OKLCHoklch(43.49% 0.175 324.6)
XYZxyz(13.1550, 6.9828, 22.8407)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E85 #26851E
analogous
#4A1E85 #7D1E85 #851E5A
triadic
#7D1E85 #857D1E #1E857D
tetradic
#7D1E85 #854A1E #26851E #1E5A85
square
#7D1E85 #854A1E #26851E #1E5A85
split-complementary
#7D1E85 #5A851E #1E854A
monochromatic
#1F0721 #4E1353 #7D1E85 #AC29B7 #CB48D6

Accessibility & contrast

On white

8.76
#7D1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E85
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E85#FFFFFF#000000##FFFFFF
##7D1E851.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#803150
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1e85;
/* rgb */ color: rgb(125, 30, 133);
/* oklch */ color: oklch(43.5% 0.175 324.6);
Tailwind
colors: {
  custom: {
    50: '#a665a9',
    500: '#7d1e85',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e85;
$custom-light: #a665a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e85",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 295.34,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43492,
    "c": 0.17541,
    "h": 324.6
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#7D1E85
secondary
#50B847
accent
#E6424E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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