#7D2175#7D2175

#7D2175 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.159 H 331.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7D2175
RGBrgb(125, 33, 117)
HSLhsl(305, 58%, 31%)
HSVhsv(305, 74%, 49%)
CMYKcmyk(0%, 73.6%, 6.4%, 51%)
CIE-LABlab(31.19, 48.89, -27.34)
CIE-LCHlch(31.19, 56.02, 330.79°)
OKLaboklab(42.78% 0.14 -0.0752)
OKLCHoklch(42.78% 0.159 331.8)
XYZxyz(12.2122, 6.7330, 17.4826)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2175 #217D29
analogous
#57217D #7D2175 #7D2147
triadic
#7D2175 #757D21 #21757D
tetradic
#7D2175 #7D5721 #217D29 #21477D
square
#7D2175 #7D5721 #217D29 #21477D
split-complementary
#7D2175 #477D21 #217D57
monochromatic
#1C071A #4D1448 #7D2175 #AD2EA2 #CF49C3

Accessibility & contrast

On white

8.95
#7D2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2175
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2175#FFFFFF#000000##FFFFFF
##7D21751.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4177
Deuteranopia (green-blind)
#3E4E73
Tritanopia (blue-blind)
#822B48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2175;
/* rgb */ color: rgb(125, 33, 117);
/* oklch */ color: oklch(42.8% 0.159 331.8);
Tailwind
colors: {
  custom: {
    50: '#a6669d',
    500: '#7d2175',
    950: '#000000',
  },
}
SCSS
$custom: #7d2175;
$custom-light: #a6669d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2175",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 305.217,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.15888,
    "h": 331.8
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#7D2175
secondary
#4AB053
accent
#E15446
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2175

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

Preview Lab → · Contrast checker → · Palette generator →

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