#7D2C91#7D2C91

#7D2C91 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.169 H 319.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7D2C91
RGBrgb(125, 44, 145)
HSLhsl(288, 53%, 37%)
HSVhsv(288, 70%, 57%)
CMYKcmyk(13.8%, 69.7%, 0%, 43.1%)
CIE-LABlab(34.41, 49.69, -39.67)
CIE-LCHlch(34.41, 63.58, 321.40°)
OKLaboklab(45.62% 0.1279 -0.1111)
OKLCHoklch(45.62% 0.169 319)
XYZxyz(14.4683, 8.2063, 27.6044)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C91 #40912C
analogous
#4B2C91 #7D2C91 #912C73
triadic
#7D2C91 #917D2C #2C917D
tetradic
#7D2C91 #914B2C #40912C #2C7391
square
#7D2C91 #914B2C #40912C #2C7391
split-complementary
#7D2C91 #73912C #2C914B
monochromatic
#2C1033 #551E62 #7D2C91 #A53AC0 #BC67D1

Accessibility & contrast

On white

7.95
#7D2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C91
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C91#FFFFFF#000000##FFFFFF
##7D2C911.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C94
Deuteranopia (green-blind)
#32548F
Tritanopia (blue-blind)
#7D3F5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2c91;
/* rgb */ color: rgb(125, 44, 145);
/* oklch */ color: oklch(45.6% 0.169 319.0);
Tailwind
colors: {
  custom: {
    50: '#a66cb2',
    500: '#7d2c91',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c91;
$custom-light: #a66cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c91",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 288.119,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.16938,
    "h": 319
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#7D2C91
secondary
#73B762
accent
#DD4B68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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