#7D2D86#7D2D86

#7D2D86 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.158 H 323.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7D2D86
RGBrgb(125, 45, 134)
HSLhsl(294, 50%, 35%)
HSVhsv(294, 66%, 53%)
CMYKcmyk(6.7%, 66.4%, 0%, 47.5%)
CIE-LABlab(33.90, 47.08, -33.71)
CIE-LCHlch(33.90, 57.90, 324.40°)
OKLaboklab(45.04% 0.1268 -0.0937)
OKLCHoklch(45.04% 0.158 323.5)
XYZxyz(13.6985, 7.9588, 23.3643)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D86 #36862D
analogous
#512D86 #7D2D86 #862D62
triadic
#7D2D86 #867D2D #2D867D
tetradic
#7D2D86 #86512D #36862D #2D6286
square
#7D2D86 #86512D #36862D #2D6286
split-complementary
#7D2D86 #62862D #2D8651
monochromatic
#280E2A #521E58 #7D2D86 #A83CB4 #C063CB

Accessibility & contrast

On white

8.10
#7D2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D86
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D86#FFFFFF#000000##FFFFFF
##7D2D861.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A89
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#7F3B55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2d86;
/* rgb */ color: rgb(125, 45, 134);
/* oklch */ color: oklch(45.0% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#a56caa',
    500: '#7d2d86',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d86;
$custom-light: #a56caa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d86",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 293.933,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45038,
    "c": 0.1577,
    "h": 323.5
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#7D2D86
secondary
#66B15E
accent
#D94F5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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