#7E2482#7E2482

#7E2482 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.167 H 326.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7E2482
RGBrgb(126, 36, 130)
HSLhsl(297, 57%, 33%)
HSVhsv(297, 72%, 51%)
CMYKcmyk(3.1%, 72.3%, 0%, 49%)
CIE-LABlab(32.50, 50.29, -33.43)
CIE-LCHlch(32.50, 60.38, 326.39°)
OKLaboklab(43.99% 0.1383 -0.0928)
OKLCHoklch(43.99% 0.167 326.1)
XYZxyz(13.2641, 7.3100, 21.8271)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2482 #288224
analogous
#4F2482 #7E2482 #822457
triadic
#7E2482 #827E24 #24827E
tetradic
#7E2482 #824F24 #288224 #245782
square
#7E2482 #824F24 #288224 #245782
split-complementary
#7E2482 #578224 #24824F
monochromatic
#210922 #501752 #7E2482 #AC31B2 #CA51CF

Accessibility & contrast

On white

8.53
#7E2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7E2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2482
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2482#FFFFFF#000000##FFFFFF
##7E24821.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4585
Deuteranopia (green-blind)
#395080
Tritanopia (blue-blind)
#813350
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2482;
/* rgb */ color: rgb(126, 36, 130);
/* oklch */ color: oklch(44.0% 0.167 326.1);
Tailwind
colors: {
  custom: {
    50: '#a768a7',
    500: '#7e2482',
    950: '#000000',
  },
}
SCSS
$custom: #7e2482;
$custom-light: #a768a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2482",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 297.447,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.16652,
    "h": 326.1
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#7E2482
secondary
#53B34F
accent
#E0484E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2482

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

Preview Lab → · Contrast checker → · Palette generator →

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