#7D1875#7D1875

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

Color values

HEX#7D1875
RGBrgb(125, 24, 117)
HSLhsl(305, 68%, 29%)
HSVhsv(305, 81%, 49%)
CMYKcmyk(0%, 80.8%, 6.4%, 51%)
CIE-LABlab(30.15, 51.86, -28.98)
CIE-LCHlch(30.15, 59.41, 330.80°)
OKLaboklab(42.03% 0.1486 -0.0798)
OKLCHoklch(42.03% 0.169 331.7)
XYZxyz(11.9950, 6.2986, 17.4102)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1875 #187D20
analogous
#53187D #7D1875 #7D1843
triadic
#7D1875 #757D18 #18757D
tetradic
#7D1875 #7D5318 #187D20 #18437D
square
#7D1875 #7D5318 #187D20 #18437D
split-complementary
#7D1875 #437D18 #187D53
monochromatic
#1A0518 #4A0E45 #7D1875 #B022A5 #D937CC

Accessibility & contrast

On white

9.29
#7D1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1875
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1875#FFFFFF#000000##FFFFFF
##7D18751.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1875;
/* rgb */ color: rgb(125, 24, 117);
/* oklch */ color: oklch(42.0% 0.169 331.7);
Tailwind
colors: {
  custom: {
    50: '#a6629d',
    500: '#7d1875',
    950: '#000000',
  },
}
SCSS
$custom: #7d1875;
$custom-light: #a6629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1875",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 304.752,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.16867,
    "h": 331.7
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#7D1875
secondary
#3FB248
accent
#EB4B3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1875

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

Preview Lab → · Contrast checker → · Palette generator →

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