#7D2A9C#7D2A9C

#7D2A9C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 315.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7D2A9C
RGBrgb(125, 42, 156)
HSLhsl(284, 58%, 39%)
HSVhsv(284, 73%, 61%)
CMYKcmyk(19.9%, 73.1%, 0%, 38.8%)
CIE-LABlab(34.84, 52.78, -45.69)
CIE-LCHlch(34.84, 69.81, 319.12°)
OKLaboklab(46.16% 0.1291 -0.1287)
OKLCHoklch(46.16% 0.182 315.1)
XYZxyz(15.2852, 8.4168, 32.2655)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A9C #499C2A
analogous
#442A9C #7D2A9C #9C2A82
triadic
#7D2A9C #9C7D2A #2A9C7D
tetradic
#7D2A9C #9C442A #499C2A #2A829C
square
#7D2A9C #9C442A #499C2A #2A829C
split-complementary
#7D2A9C #829C2A #2A9C44
monochromatic
#30103C #561D6C #7D2A9C #A339CA #B96AD7

Accessibility & contrast

On white

7.83
#7D2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D2A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A9C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A9C#FFFFFF#000000##FFFFFF
##7D2A9C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#265499
Tritanopia (blue-blind)
#7A4260
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2a9c;
/* rgb */ color: rgb(125, 42, 156);
/* oklch */ color: oklch(46.2% 0.182 315.1);
Tailwind
colors: {
  custom: {
    50: '#a66cba',
    500: '#7d2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a9c;
$custom-light: #a66cba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a9c",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 283.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.18233,
    "h": 315.1
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#7D2A9C
secondary
#7DBD65
accent
#E14771
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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