#7D2C92#7D2C92

#7D2C92 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.170 H 318.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7D2C92
RGBrgb(125, 44, 146)
HSLhsl(288, 54%, 37%)
HSVhsv(288, 70%, 57%)
CMYKcmyk(14.4%, 69.9%, 0%, 42.7%)
CIE-LABlab(34.47, 49.89, -40.18)
CIE-LCHlch(34.47, 64.06, 321.15°)
OKLaboklab(45.69% 0.1278 -0.1126)
OKLCHoklch(45.69% 0.17 318.6)
XYZxyz(14.5457, 8.2373, 28.0123)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C92 #41922C
analogous
#4A2C92 #7D2C92 #922C74
triadic
#7D2C92 #927D2C #2C927D
tetradic
#7D2C92 #924A2C #41922C #2C7492
square
#7D2C92 #924A2C #41922C #2C7492
split-complementary
#7D2C92 #74922C #2C924A
monochromatic
#2C1034 #551E63 #7D2C92 #A53AC1 #BB67D1

Accessibility & contrast

On white

7.93
#7D2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C92
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C92#FFFFFF#000000##FFFFFF
##7D2C921.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#325490
Tritanopia (blue-blind)
#7D3F5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2c92;
/* rgb */ color: rgb(125, 44, 146);
/* oklch */ color: oklch(45.7% 0.170 318.6);
Tailwind
colors: {
  custom: {
    50: '#a66cb2',
    500: '#7d2c92',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c92;
$custom-light: #a66cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c92",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 287.647,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.17033,
    "h": 318.6
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#7D2C92
secondary
#74B862
accent
#DD4B69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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