#7D1785#7D1785

#7D1785 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.182 H 324.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7D1785
RGBrgb(125, 23, 133)
HSLhsl(296, 71%, 31%)
HSVhsv(296, 83%, 52%)
CMYKcmyk(6%, 82.7%, 0%, 47.8%)
CIE-LABlab(31.04, 54.85, -37.65)
CIE-LCHlch(31.04, 66.53, 325.54°)
OKLaboklab(42.97% 0.1487 -0.105)
OKLCHoklch(42.97% 0.182 324.8)
XYZxyz(12.9972, 6.6671, 22.7881)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1785 #1F8517
analogous
#461785 #7D1785 #851756
triadic
#7D1785 #857D17 #17857D
tetradic
#7D1785 #854617 #1F8517 #175685
square
#7D1785 #854617 #1F8517 #175685
split-complementary
#7D1785 #568517 #178546
monochromatic
#1B051D #4C0E51 #7D1785 #AE20B9 #D13ADD

Accessibility & contrast

On white

9.00
#7D1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1785
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1785#FFFFFF#000000##FFFFFF
##7D17851.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#802D4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1785;
/* rgb */ color: rgb(125, 23, 133);
/* oklch */ color: oklch(43.0% 0.182 324.8);
Tailwind
colors: {
  custom: {
    50: '#a663a9',
    500: '#7d1785',
    950: '#000000',
  },
}
SCSS
$custom: #7d1785;
$custom-light: #a663a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1785",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 295.636,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.18209,
    "h": 324.8
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#7D1785
secondary
#48B93F
accent
#ED3B48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1785

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

Preview Lab → · Contrast checker → · Palette generator →

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