#7D2492#7D2492

#7D2492 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.180 H 319.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7D2492
RGBrgb(125, 36, 146)
HSLhsl(289, 60%, 36%)
HSVhsv(289, 75%, 57%)
CMYKcmyk(14.4%, 75.3%, 0%, 42.7%)
CIE-LABlab(33.35, 53.09, -41.99)
CIE-LCHlch(33.35, 67.68, 321.66°)
OKLaboklab(44.88% 0.1362 -0.1178)
OKLCHoklch(44.88% 0.18 319.1)
XYZxyz(14.2759, 7.6977, 27.9224)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2492 #399224
analogous
#462492 #7D2492 #922470
triadic
#7D2492 #927D24 #24927D
tetradic
#7D2492 #924624 #399224 #247092
square
#7D2492 #924624 #399224 #247092
split-complementary
#7D2492 #709224 #249246
monochromatic
#290C30 #531861 #7D2492 #A730C3 #BF5AD6

Accessibility & contrast

On white

8.27
#7D2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2492
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2492#FFFFFF#000000##FFFFFF
##7D24921.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#2C5190
Tritanopia (blue-blind)
#7D3A59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2492;
/* rgb */ color: rgb(125, 36, 146);
/* oklch */ color: oklch(44.9% 0.180 319.1);
Tailwind
colors: {
  custom: {
    50: '#a668b2',
    500: '#7d2492',
    950: '#000000',
  },
}
SCSS
$custom: #7d2492;
$custom-light: #a668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2492",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 288.545,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.18009,
    "h": 319.1
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#7D2492
secondary
#6ABB57
accent
#E44463
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2492

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

Preview Lab → · Contrast checker → · Palette generator →

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