#7E2293#7E2293

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

Color values

HEX#7E2293
RGBrgb(126, 34, 147)
HSLhsl(289, 62%, 35%)
HSVhsv(289, 77%, 58%)
CMYKcmyk(14.3%, 76.9%, 0%, 42.4%)
CIE-LABlab(33.32, 54.21, -42.63)
CIE-LCHlch(33.32, 68.97, 321.82°)
OKLaboklab(44.92% 0.1392 -0.1197)
OKLCHoklch(44.92% 0.184 319.3)
XYZxyz(14.4420, 7.6870, 28.3211)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2293 #379322
analogous
#462293 #7E2293 #93226F
triadic
#7E2293 #937E22 #22937E
tetradic
#7E2293 #934622 #379322 #226F93
square
#7E2293 #934622 #379322 #226F93
split-complementary
#7E2293 #6F9322 #229346
monochromatic
#290B30 #531761 #7E2293 #A92DC5 #C057D8

Accessibility & contrast

On white

8.28
#7E2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2293
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2293#FFFFFF#000000##FFFFFF
##7E22931.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#2B5190
Tritanopia (blue-blind)
#7E3959
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2293;
/* rgb */ color: rgb(126, 34, 147);
/* oklch */ color: oklch(44.9% 0.184 319.3);
Tailwind
colors: {
  custom: {
    50: '#a768b3',
    500: '#7e2293',
    950: '#000000',
  },
}
SCSS
$custom: #7e2293;
$custom-light: #a768b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2293",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 288.85,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.1836,
    "h": 319.3
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#7E2293
secondary
#68BC55
accent
#E54261
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2293

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

Preview Lab → · Contrast checker → · Palette generator →

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