#7D1E90#7D1E90

#7D1E90 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.185 H 320.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7D1E90
RGBrgb(125, 30, 144)
HSLhsl(290, 66%, 34%)
HSVhsv(290, 79%, 56%)
CMYKcmyk(13.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(32.49, 54.78, -42.14)
CIE-LCHlch(32.49, 69.11, 322.43°)
OKLaboklab(44.23% 0.1419 -0.1182)
OKLCHoklch(44.23% 0.185 320.2)
XYZxyz(13.9551, 7.3029, 27.0547)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E90 #31901E
analogous
#441E90 #7D1E90 #901E6A
triadic
#7D1E90 #907D1E #1E907D
tetradic
#7D1E90 #90441E #31901E #1E6A90
square
#7D1E90 #90441E #31901E #1E6A90
split-complementary
#7D1E90 #6A901E #1E9044
monochromatic
#25092B #51135D #7D1E90 #A929C3 #C34EDA

Accessibility & contrast

On white

8.54
#7D1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E90
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E90#FFFFFF#000000##FFFFFF
##7D1E901.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#2A508D
Tritanopia (blue-blind)
#7D3657
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1e90;
/* rgb */ color: rgb(125, 30, 144);
/* oklch */ color: oklch(44.2% 0.185 320.2);
Tailwind
colors: {
  custom: {
    50: '#a666b1',
    500: '#7d1e90',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e90;
$custom-light: #a666b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e90",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 290,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44231,
    "c": 0.18471,
    "h": 320.2
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#7D1E90
secondary
#60BD4D
accent
#E83F5C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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