#7D2185#7D2185

#7D2185 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 324.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7D2185
RGBrgb(125, 33, 133)
HSLhsl(295, 60%, 33%)
HSVhsv(295, 75%, 52%)
CMYKcmyk(6%, 75.2%, 0%, 47.8%)
CIE-LABlab(32.13, 51.71, -35.90)
CIE-LCHlch(32.13, 62.95, 325.23°)
OKLaboklab(43.75% 0.1401 -0.1)
OKLCHoklch(43.75% 0.172 324.5)
XYZxyz(13.2346, 7.1420, 22.8672)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2185 #298521
analogous
#4B2185 #7D2185 #85215B
triadic
#7D2185 #857D21 #21857D
tetradic
#7D2185 #854B21 #298521 #215B85
square
#7D2185 #854B21 #298521 #215B85
split-complementary
#7D2185 #5B8521 #21854B
monochromatic
#210923 #4F1554 #7D2185 #AB2DB6 #C84DD3

Accessibility & contrast

On white

8.65
#7D2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2185
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2185#FFFFFF#000000##FFFFFF
##7D21851.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#803351
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2185;
/* rgb */ color: rgb(125, 33, 133);
/* oklch */ color: oklch(43.7% 0.172 324.5);
Tailwind
colors: {
  custom: {
    50: '#a667a9',
    500: '#7d2185',
    950: '#000000',
  },
}
SCSS
$custom: #7d2185;
$custom-light: #a667a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2185",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 295.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43748,
    "c": 0.17212,
    "h": 324.5
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#7D2185
secondary
#54B64C
accent
#E34451
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2185

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

Preview Lab → · Contrast checker → · Palette generator →

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