#7D2A85#7D2A85

#7D2A85 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.161 H 324.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7D2A85
RGBrgb(125, 42, 133)
HSLhsl(295, 52%, 34%)
HSVhsv(295, 68%, 52%)
CMYKcmyk(6%, 68.4%, 0%, 47.8%)
CIE-LABlab(33.37, 48.19, -33.92)
CIE-LCHlch(33.37, 58.93, 324.86°)
OKLaboklab(44.64% 0.1304 -0.0943)
OKLCHoklch(44.64% 0.161 324.1)
XYZxyz(13.5187, 7.7102, 22.9619)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A85 #32852A
analogous
#502A85 #7D2A85 #852A60
triadic
#7D2A85 #857D2A #2A857D
tetradic
#7D2A85 #85502A #32852A #2A6085
square
#7D2A85 #85502A #32852A #2A6085
split-complementary
#7D2A85 #60852A #2A8550
monochromatic
#260D28 #511B56 #7D2A85 #A939B4 #C25DCC

Accessibility & contrast

On white

8.26
#7D2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A85
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A85#FFFFFF#000000##FFFFFF
##7D2A851.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#7F3854
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2a85;
/* rgb */ color: rgb(125, 42, 133);
/* oklch */ color: oklch(44.6% 0.161 324.1);
Tailwind
colors: {
  custom: {
    50: '#a66ba9',
    500: '#7d2a85',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a85;
$custom-light: #a66ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a85",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 294.725,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.16093,
    "h": 324.1
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#7D2A85
secondary
#61B259
accent
#DB4C59
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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