#7D2A92#7D2A92

#7D2A92 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.173 H 318.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7D2A92
RGBrgb(125, 42, 146)
HSLhsl(288, 55%, 37%)
HSVhsv(288, 71%, 57%)
CMYKcmyk(14.4%, 71.2%, 0%, 42.7%)
CIE-LABlab(34.17, 50.73, -40.66)
CIE-LCHlch(34.17, 65.02, 321.29°)
OKLaboklab(45.47% 0.13 -0.114)
OKLCHoklch(45.47% 0.173 318.8)
XYZxyz(14.4730, 8.0919, 27.9881)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A92 #3F922A
analogous
#492A92 #7D2A92 #922A73
triadic
#7D2A92 #927D2A #2A927D
tetradic
#7D2A92 #92492A #3F922A #2A7392
square
#7D2A92 #92492A #3F922A #2A7392
split-complementary
#7D2A92 #73922A #2A9249
monochromatic
#2C0F33 #541C62 #7D2A92 #A638C2 #BC64D2

Accessibility & contrast

On white

8.02
#7D2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A92
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A92#FFFFFF#000000##FFFFFF
##7D2A921.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#7D3E5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2a92;
/* rgb */ color: rgb(125, 42, 146);
/* oklch */ color: oklch(45.5% 0.173 318.8);
Tailwind
colors: {
  custom: {
    50: '#a66bb2',
    500: '#7d2a92',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a92;
$custom-light: #a66bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a92",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 287.885,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.17291,
    "h": 318.8
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#7D2A92
secondary
#71B85F
accent
#DF4967
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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