#7E2473#7E2473

#7E2473 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.154 H 333.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7E2473
RGBrgb(126, 36, 115)
HSLhsl(307, 56%, 32%)
HSVhsv(307, 71%, 49%)
CMYKcmyk(0%, 71.4%, 8.7%, 50.6%)
CIE-LABlab(31.66, 47.67, -25.32)
CIE-LCHlch(31.66, 53.98, 332.03°)
OKLaboklab(43.11% 0.1376 -0.0694)
OKLCHoklch(43.11% 0.154 333.3)
XYZxyz(12.3296, 6.9362, 16.9058)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2473 #247E2F
analogous
#5C247E #7E2473 #7E2446
triadic
#7E2473 #737E24 #24737E
tetradic
#7E2473 #7E5C24 #247E2F #24467E
square
#7E2473 #7E5C24 #247E2F #24467E
split-complementary
#7E2473 #467E24 #247E5C
monochromatic
#1F091C #4E1648 #7E2473 #AE329E #CD50BE

Accessibility & contrast

On white

8.80
#7E2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E2473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2473
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2473#FFFFFF#000000##FFFFFF
##7E24731.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#842C48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2473;
/* rgb */ color: rgb(126, 36, 115);
/* oklch */ color: oklch(43.1% 0.154 333.3);
Tailwind
colors: {
  custom: {
    50: '#a6679b',
    500: '#7e2473',
    950: '#000000',
  },
}
SCSS
$custom: #7e2473;
$custom-light: #a6679b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2473",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 307.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.15411,
    "h": 333.3
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#7E2473
secondary
#4EB05A
accent
#DF5B49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E2473

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

Preview Lab → · Contrast checker → · Palette generator →

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