#7D2494#7D2494

#7D2494 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.182 H 318.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7D2494
RGBrgb(125, 36, 148)
HSLhsl(288, 61%, 36%)
HSVhsv(288, 76%, 58%)
CMYKcmyk(15.5%, 75.7%, 0%, 42%)
CIE-LABlab(33.48, 53.48, -43.00)
CIE-LCHlch(33.48, 68.62, 321.20°)
OKLaboklab(45.02% 0.136 -0.1208)
OKLCHoklch(45.02% 0.182 318.4)
XYZxyz(14.4329, 7.7605, 28.7489)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2494 #3B9424
analogous
#452494 #7D2494 #942473
triadic
#7D2494 #947D24 #24947D
tetradic
#7D2494 #944524 #3B9424 #247394
square
#7D2494 #944524 #3B9424 #247394
split-complementary
#7D2494 #739424 #249445
monochromatic
#2A0C32 #531863 #7D2494 #A730C5 #BE5BD7

Accessibility & contrast

On white

8.23
#7D2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2494
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2494#FFFFFF#000000##FFFFFF
##7D24941.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#2A5291
Tritanopia (blue-blind)
#7C3B5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2494;
/* rgb */ color: rgb(125, 36, 148);
/* oklch */ color: oklch(45.0% 0.182 318.4);
Tailwind
colors: {
  custom: {
    50: '#a669b4',
    500: '#7d2494',
    950: '#000000',
  },
}
SCSS
$custom: #7d2494;
$custom-light: #a669b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2494",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 287.679,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.18189,
    "h": 318.4
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#7D2494
secondary
#6CBC58
accent
#E44465
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2494

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

Preview Lab → · Contrast checker → · Palette generator →

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