#7D1E8B#7D1E8B

#7D1E8B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.180 H 322.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7D1E8B
RGBrgb(125, 30, 139)
HSLhsl(292, 64%, 33%)
HSVhsv(292, 78%, 55%)
CMYKcmyk(10.1%, 78.4%, 0%, 45.5%)
CIE-LABlab(32.15, 53.84, -39.59)
CIE-LCHlch(32.15, 66.83, 323.68°)
OKLaboklab(43.89% 0.1425 -0.1108)
OKLCHoklch(43.89% 0.18 322.1)
XYZxyz(13.5814, 7.1534, 25.0865)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E8B #2C8B1E
analogous
#471E8B #7D1E8B #8B1E62
triadic
#7D1E8B #8B7D1E #1E8B7D
tetradic
#7D1E8B #8B471E #2C8B1E #1E628B
square
#7D1E8B #8B471E #2C8B1E #1E628B
split-complementary
#7D1E8B #628B1E #1E8B47
monochromatic
#220826 #501359 #7D1E8B #AA29BD #C64BD8

Accessibility & contrast

On white

8.64
#7D1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E8B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E8B#FFFFFF#000000##FFFFFF
##7D1E8B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2E4F89
Tritanopia (blue-blind)
#7E3454
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1e8b;
/* rgb */ color: rgb(125, 30, 139);
/* oklch */ color: oklch(43.9% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#a666ad',
    500: '#7d1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e8b;
$custom-light: #a666ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e8b",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 292.294,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.18045,
    "h": 322.1
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#7D1E8B
secondary
#59BB4A
accent
#E74056
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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