#7D2A86#7D2A86

#7D2A86 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.162 H 323.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7D2A86
RGBrgb(125, 42, 134)
HSLhsl(294, 52%, 35%)
HSVhsv(294, 69%, 53%)
CMYKcmyk(6.7%, 68.7%, 0%, 47.5%)
CIE-LABlab(33.43, 48.38, -34.45)
CIE-LCHlch(33.43, 59.39, 324.55°)
OKLaboklab(44.7% 0.1304 -0.0959)
OKLCHoklch(44.7% 0.162 323.7)
XYZxyz(13.5881, 7.7379, 23.3275)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A86 #33862A
analogous
#4F2A86 #7D2A86 #862A61
triadic
#7D2A86 #867D2A #2A867D
tetradic
#7D2A86 #864F2A #33862A #2A6186
square
#7D2A86 #864F2A #33862A #2A6186
split-complementary
#7D2A86 #61862A #2A864F
monochromatic
#260D29 #521B57 #7D2A86 #A839B5 #C25ECD

Accessibility & contrast

On white

8.24
#7D2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A86
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A86#FFFFFF#000000##FFFFFF
##7D2A861.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144889
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#7F3954
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2a86;
/* rgb */ color: rgb(125, 42, 134);
/* oklch */ color: oklch(44.7% 0.162 323.7);
Tailwind
colors: {
  custom: {
    50: '#a66baa',
    500: '#7d2a86',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a86;
$custom-light: #a66baa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a86",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 294.13,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44702,
    "c": 0.16184,
    "h": 323.7
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#7D2A86
secondary
#62B25A
accent
#DC4C5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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