#7E2394#7E2394

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

Color values

HEX#7E2394
RGBrgb(126, 35, 148)
HSLhsl(288, 62%, 36%)
HSVhsv(288, 76%, 58%)
CMYKcmyk(14.9%, 76.4%, 0%, 42%)
CIE-LABlab(33.51, 54.05, -42.94)
CIE-LCHlch(33.51, 69.03, 321.54°)
OKLaboklab(45.08% 0.1382 -0.1206)
OKLCHoklch(45.08% 0.183 318.9)
XYZxyz(14.5498, 7.7765, 28.7458)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2394 #399423
analogous
#452394 #7E2394 #942371
triadic
#7E2394 #947E23 #23947E
tetradic
#7E2394 #944523 #399423 #237194
square
#7E2394 #944523 #399423 #237194
split-complementary
#7E2394 #719423 #239445
monochromatic
#2A0C31 #541763 #7E2394 #A82FC5 #BF5AD8

Accessibility & contrast

On white

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

On black

2.56
#7E2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E2394#FFFFFF#000000##FFFFFF
##7E23941.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2394;
/* rgb */ color: rgb(126, 35, 148);
/* oklch */ color: oklch(45.1% 0.183 318.9);
Tailwind
colors: {
  custom: {
    50: '#a768b4',
    500: '#7e2394',
    950: '#000000',
  },
}
SCSS
$custom: #7e2394;
$custom-light: #a768b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2394",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 288.319,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.18339,
    "h": 318.9
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#7E2394
secondary
#6ABC57
accent
#E54362
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2394

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

Preview Lab → · Contrast checker → · Palette generator →

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