#7D1775#7D1775

#7D1775 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.170 H 331.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7D1775
RGBrgb(125, 23, 117)
HSLhsl(305, 69%, 29%)
HSVhsv(305, 82%, 49%)
CMYKcmyk(0%, 81.6%, 6.4%, 51%)
CIE-LABlab(30.05, 52.15, -29.14)
CIE-LCHlch(30.05, 59.73, 330.81°)
OKLaboklab(41.96% 0.1494 -0.0803)
OKLCHoklch(41.96% 0.17 331.7)
XYZxyz(11.9748, 6.2581, 17.4034)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1775 #177D1F
analogous
#52177D #7D1775 #7D1742
triadic
#7D1775 #757D17 #17757D
tetradic
#7D1775 #7D5217 #177D1F #17427D
square
#7D1775 #7D5217 #177D1F #17427D
split-complementary
#7D1775 #427D17 #177D52
monochromatic
#1A0518 #490D45 #7D1775 #B121A5 #DA35CD

Accessibility & contrast

On white

9.33
#7D1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1775
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1775#FFFFFF#000000##FFFFFF
##7D17751.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E77
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#822546
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1775;
/* rgb */ color: rgb(125, 23, 117);
/* oklch */ color: oklch(42.0% 0.170 331.7);
Tailwind
colors: {
  custom: {
    50: '#a6629d',
    500: '#7d1775',
    950: '#000000',
  },
}
SCSS
$custom: #7d1775;
$custom-light: #a6629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1775",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 304.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.16963,
    "h": 331.7
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#7D1775
secondary
#3EB247
accent
#EC4A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1775

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

Preview Lab → · Contrast checker → · Palette generator →

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