#7E2494#7E2494

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

Color values

HEX#7E2494
RGBrgb(126, 36, 148)
HSLhsl(288, 61%, 36%)
HSVhsv(288, 76%, 58%)
CMYKcmyk(14.9%, 75.7%, 0%, 42%)
CIE-LABlab(33.64, 53.69, -42.73)
CIE-LCHlch(33.64, 68.62, 321.48°)
OKLaboklab(45.17% 0.1372 -0.12)
OKLCHoklch(45.17% 0.182 318.8)
XYZxyz(14.5796, 7.8362, 28.7558)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2494 #3A9424
analogous
#462494 #7E2494 #942472
triadic
#7E2494 #947E24 #24947E
tetradic
#7E2494 #944624 #3A9424 #247294
square
#7E2494 #944624 #3A9424 #247294
split-complementary
#7E2494 #729424 #249446
monochromatic
#2A0C32 #541863 #7E2494 #A830C5 #BF5BD7

Accessibility & contrast

On white

8.18
#7E2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7E2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2494
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2494#FFFFFF#000000##FFFFFF
##7E24941.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2494;
/* rgb */ color: rgb(126, 36, 148);
/* oklch */ color: oklch(45.2% 0.182 318.8);
Tailwind
colors: {
  custom: {
    50: '#a769b4',
    500: '#7e2494',
    950: '#000000',
  },
}
SCSS
$custom: #7e2494;
$custom-light: #a769b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2494",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 288.214,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.1823,
    "h": 318.8
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E2494

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

Preview Lab → · Contrast checker → · Palette generator →

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