#7D1E89#7D1E89

#7D1E89 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.179 H 322.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7D1E89
RGBrgb(125, 30, 137)
HSLhsl(293, 64%, 33%)
HSVhsv(293, 78%, 54%)
CMYKcmyk(8.8%, 78.1%, 0%, 46.3%)
CIE-LABlab(32.02, 53.47, -38.56)
CIE-LCHlch(32.02, 65.92, 324.21°)
OKLaboklab(43.76% 0.1426 -0.1078)
OKLCHoklch(43.76% 0.179 322.9)
XYZxyz(13.4366, 7.0955, 24.3239)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E89 #2A891E
analogous
#471E89 #7D1E89 #891E5F
triadic
#7D1E89 #897D1E #1E897D
tetradic
#7D1E89 #89471E #2A891E #1E5F89
square
#7D1E89 #89471E #2A891E #1E5F89
split-complementary
#7D1E89 #5F891E #1E8947
monochromatic
#210825 #4F1357 #7D1E89 #AB29BB #C84AD7

Accessibility & contrast

On white

8.68
#7D1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E89
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E89#FFFFFF#000000##FFFFFF
##7D1E891.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#7F3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1e89;
/* rgb */ color: rgb(125, 30, 137);
/* oklch */ color: oklch(43.8% 0.179 322.9);
Tailwind
colors: {
  custom: {
    50: '#a666ac',
    500: '#7d1e89',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e89;
$custom-light: #a666ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e89",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 293.271,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43755,
    "c": 0.17876,
    "h": 322.9
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#7D1E89
secondary
#56BA49
accent
#E74153
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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