#7D1E88#7D1E88

#7D1E88 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.178 H 323.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7D1E88
RGBrgb(125, 30, 136)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(8.1%, 77.9%, 0%, 46.7%)
CIE-LABlab(31.96, 53.29, -38.04)
CIE-LCHlch(31.96, 65.47, 324.48°)
OKLaboklab(43.69% 0.1427 -0.1062)
OKLCHoklch(43.69% 0.178 323.3)
XYZxyz(13.3652, 7.0669, 23.9479)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E88 #29881E
analogous
#481E88 #7D1E88 #881E5E
triadic
#7D1E88 #887D1E #1E887D
tetradic
#7D1E88 #88481E #29881E #1E5E88
square
#7D1E88 #88481E #29881E #1E5E88
split-complementary
#7D1E88 #5E881E #1E8848
monochromatic
#210824 #4F1356 #7D1E88 #AB29BA #C849D7

Accessibility & contrast

On white

8.70
#7D1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E88
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E88#FFFFFF#000000##FFFFFF
##7D1E881.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#7F3252
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1e88;
/* rgb */ color: rgb(125, 30, 136);
/* oklch */ color: oklch(43.7% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#a665ab',
    500: '#7d1e88',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e88;
$custom-light: #a665ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e88",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 293.774,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.17791,
    "h": 323.3
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#7D1E88
secondary
#54B949
accent
#E74152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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