#7D2B84#7D2B84

#7D2B84 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.159 H 324.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7D2B84
RGBrgb(125, 43, 132)
HSLhsl(295, 51%, 34%)
HSVhsv(295, 67%, 52%)
CMYKcmyk(5.3%, 67.4%, 0%, 48.2%)
CIE-LABlab(33.47, 47.57, -33.15)
CIE-LCHlch(33.47, 57.98, 325.13°)
OKLaboklab(44.69% 0.1292 -0.0921)
OKLCHoklch(44.69% 0.159 324.5)
XYZxyz(13.4858, 7.7545, 22.6118)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B84 #32842B
analogous
#512B84 #7D2B84 #842B5F
triadic
#7D2B84 #847D2B #2B847D
tetradic
#7D2B84 #84512B #32842B #2B5F84
square
#7D2B84 #84512B #32842B #2B5F84
split-complementary
#7D2B84 #5F842B #2B8451
monochromatic
#260D28 #511C56 #7D2B84 #A93AB2 #C25FCB

Accessibility & contrast

On white

8.23
#7D2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2B84
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B84#FFFFFF#000000##FFFFFF
##7D2B841.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#803954
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2b84;
/* rgb */ color: rgb(125, 43, 132);
/* oklch */ color: oklch(44.7% 0.159 324.5);
Tailwind
colors: {
  custom: {
    50: '#a56ba8',
    500: '#7d2b84',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b84;
$custom-light: #a56ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b84",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 295.281,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44689,
    "c": 0.15865,
    "h": 324.5
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#7D2B84
secondary
#61B15A
accent
#DA4D59
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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