#7D1E87#7D1E87

#7D1E87 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.177 H 323.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7D1E87
RGBrgb(125, 30, 135)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(7.4%, 77.8%, 0%, 47.1%)
CIE-LABlab(31.89, 53.10, -37.52)
CIE-LCHlch(31.89, 65.02, 324.76°)
OKLaboklab(43.62% 0.1428 -0.1047)
OKLCHoklch(43.62% 0.177 323.7)
XYZxyz(13.2945, 7.0386, 23.5753)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E87 #28871E
analogous
#491E87 #7D1E87 #871E5C
triadic
#7D1E87 #877D1E #1E877D
tetradic
#7D1E87 #87491E #28871E #1E5C87
square
#7D1E87 #87491E #28871E #1E5C87
split-complementary
#7D1E87 #5C871E #1E8749
monochromatic
#200823 #4F1355 #7D1E87 #AB29B9 #C949D7

Accessibility & contrast

On white

8.72
#7D1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E87
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E87#FFFFFF#000000##FFFFFF
##7D1E871.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1e87;
/* rgb */ color: rgb(125, 30, 135);
/* oklch */ color: oklch(43.6% 0.177 323.7);
Tailwind
colors: {
  custom: {
    50: '#a665aa',
    500: '#7d1e87',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e87;
$custom-light: #a665aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e87",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 294.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.17707,
    "h": 323.7
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#7D1E87
secondary
#53B948
accent
#E74151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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