#7D1F85#7D1F85

#7D1F85 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 324.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7D1F85
RGBrgb(125, 31, 133)
HSLhsl(295, 62%, 32%)
HSVhsv(295, 77%, 52%)
CMYKcmyk(6%, 76.7%, 0%, 47.8%)
CIE-LABlab(31.88, 52.40, -36.29)
CIE-LCHlch(31.88, 63.74, 325.30°)
OKLaboklab(43.58% 0.142 -0.1011)
OKLCHoklch(43.58% 0.174 324.5)
XYZxyz(13.1807, 7.0342, 22.8493)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F85 #27851F
analogous
#4A1F85 #7D1F85 #851F5A
triadic
#7D1F85 #857D1F #1F857D
tetradic
#7D1F85 #854A1F #27851F #1F5A85
square
#7D1F85 #854A1F #27851F #1F5A85
split-complementary
#7D1F85 #5A851F #1F854A
monochromatic
#200822 #4E1353 #7D1F85 #AC2BB7 #CA4AD5

Accessibility & contrast

On white

8.73
#7D1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F85
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F85#FFFFFF#000000##FFFFFF
##7D1F851.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#803151
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1f85;
/* rgb */ color: rgb(125, 31, 133);
/* oklch */ color: oklch(43.6% 0.174 324.5);
Tailwind
colors: {
  custom: {
    50: '#a666a9',
    500: '#7d1f85',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f85;
$custom-light: #a666a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f85",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 295.294,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.17433,
    "h": 324.5
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#7D1F85
secondary
#51B749
accent
#E5434F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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