#7D2A9F#7D2A9F

#7D2A9F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.185 H 314.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7D2A9F
RGBrgb(125, 42, 159)
HSLhsl(283, 58%, 39%)
HSVhsv(283, 74%, 62%)
CMYKcmyk(21.4%, 73.6%, 0%, 37.6%)
CIE-LABlab(35.04, 53.41, -47.17)
CIE-LCHlch(35.04, 71.26, 318.55°)
OKLaboklab(46.37% 0.1288 -0.1331)
OKLCHoklch(46.37% 0.185 314)
XYZxyz(15.5424, 8.5196, 33.6199)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A9F #4C9F2A
analogous
#432A9F #7D2A9F #9F2A87
triadic
#7D2A9F #9F7D2A #2A9F7D
tetradic
#7D2A9F #9F432A #4C9F2A #2A879F
square
#7D2A9F #9F432A #4C9F2A #2A879F
split-complementary
#7D2A9F #879F2A #2A9F43
monochromatic
#31103E #571D6F #7D2A9F #A13BCB #B86BD8

Accessibility & contrast

On white

7.77
#7D2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D2A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A9F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A9F#FFFFFF#000000##FFFFFF
##7D2A9F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#22549C
Tritanopia (blue-blind)
#7A4362
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2a9f;
/* rgb */ color: rgb(125, 42, 159);
/* oklch */ color: oklch(46.4% 0.185 314.0);
Tailwind
colors: {
  custom: {
    50: '#a76cbc',
    500: '#7d2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a9f;
$custom-light: #a76cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a9f",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 282.564,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.18518,
    "h": 314
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#7D2A9F
secondary
#80BF66
accent
#E14673
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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