#7E2393#7E2393

#7E2393 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.183 H 319.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7E2393
RGBrgb(126, 35, 147)
HSLhsl(289, 62%, 36%)
HSVhsv(289, 76%, 58%)
CMYKcmyk(14.3%, 76.2%, 0%, 42.4%)
CIE-LABlab(33.45, 53.86, -42.43)
CIE-LCHlch(33.45, 68.56, 321.77°)
OKLaboklab(45.01% 0.1383 -0.1191)
OKLCHoklch(45.01% 0.183 319.3)
XYZxyz(14.4710, 7.7450, 28.3308)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2393 #389323
analogous
#462393 #7E2393 #932370
triadic
#7E2393 #937E23 #23937E
tetradic
#7E2393 #934623 #389323 #237093
square
#7E2393 #934623 #389323 #237093
split-complementary
#7E2393 #709323 #239346
monochromatic
#290B30 #541762 #7E2393 #A82FC4 #C059D7

Accessibility & contrast

On white

8.24
#7E2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2393
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2393#FFFFFF#000000##FFFFFF
##7E23931.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2393;
/* rgb */ color: rgb(126, 35, 147);
/* oklch */ color: oklch(45.0% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#a768b3',
    500: '#7e2393',
    950: '#000000',
  },
}
SCSS
$custom: #7e2393;
$custom-light: #a768b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2393",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 288.75,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.18251,
    "h": 319.3
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#7E2393
secondary
#69BC56
accent
#E54361
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2393

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

Preview Lab → · Contrast checker → · Palette generator →

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