#7E2392#7E2392

#7E2392 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.182 H 319.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7E2392
RGBrgb(126, 35, 146)
HSLhsl(289, 61%, 35%)
HSVhsv(289, 76%, 57%)
CMYKcmyk(13.7%, 76%, 0%, 42.7%)
CIE-LABlab(33.38, 53.66, -41.92)
CIE-LCHlch(33.38, 68.10, 322.00°)
OKLaboklab(44.94% 0.1384 -0.1176)
OKLCHoklch(44.94% 0.182 319.6)
XYZxyz(14.3929, 7.7137, 27.9193)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2392 #379223
analogous
#462392 #7E2392 #92236E
triadic
#7E2392 #927E23 #23927E
tetradic
#7E2392 #924623 #379223 #236E92
square
#7E2392 #924623 #379223 #236E92
split-complementary
#7E2392 #6E9223 #239246
monochromatic
#290B2F #531761 #7E2392 #A92FC3 #C058D7

Accessibility & contrast

On white

8.26
#7E2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7E2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2392
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2392#FFFFFF#000000##FFFFFF
##7E23921.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2C528F
Tritanopia (blue-blind)
#7E3A59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2392;
/* rgb */ color: rgb(126, 35, 146);
/* oklch */ color: oklch(44.9% 0.182 319.6);
Tailwind
colors: {
  custom: {
    50: '#a768b2',
    500: '#7e2392',
    950: '#000000',
  },
}
SCSS
$custom: #7e2392;
$custom-light: #a768b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2392",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 289.189,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.18163,
    "h": 319.6
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#7E2392
secondary
#68BB55
accent
#E44360
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2392

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

Preview Lab → · Contrast checker → · Palette generator →

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