#7E2492#7E2492

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

Color values

HEX#7E2492
RGBrgb(126, 36, 146)
HSLhsl(289, 60%, 36%)
HSVhsv(289, 75%, 57%)
CMYKcmyk(13.7%, 75.3%, 0%, 42.7%)
CIE-LABlab(33.51, 53.30, -41.72)
CIE-LCHlch(33.51, 67.69, 321.95°)
OKLaboklab(45.03% 0.1374 -0.117)
OKLCHoklch(45.03% 0.181 319.6)
XYZxyz(14.4227, 7.7734, 27.9293)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2492 #389224
analogous
#472492 #7E2492 #92246F
triadic
#7E2492 #927E24 #24927E
tetradic
#7E2492 #924724 #389224 #246F92
square
#7E2492 #924724 #389224 #246F92
split-complementary
#7E2492 #6F9224 #249247
monochromatic
#290C30 #541861 #7E2492 #A830C3 #C05AD6

Accessibility & contrast

On white

8.22
#7E2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2492
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2492#FFFFFF#000000##FFFFFF
##7E24921.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#7E3A59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e2492;
/* rgb */ color: rgb(126, 36, 146);
/* oklch */ color: oklch(45.0% 0.181 319.6);
Tailwind
colors: {
  custom: {
    50: '#a769b2',
    500: '#7e2492',
    950: '#000000',
  },
}
SCSS
$custom: #7e2492;
$custom-light: #a769b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2492",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 289.091,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.18052,
    "h": 319.6
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#7E2492
secondary
#69BB57
accent
#E44461
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2492

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

Preview Lab → · Contrast checker → · Palette generator →

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