#7E2193#7E2193

#7E2193 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.185 H 319.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7E2193
RGBrgb(126, 33, 147)
HSLhsl(289, 63%, 35%)
HSVhsv(289, 78%, 58%)
CMYKcmyk(14.3%, 77.6%, 0%, 42.4%)
CIE-LABlab(33.20, 54.56, -42.82)
CIE-LCHlch(33.20, 69.36, 321.87°)
OKLaboklab(44.83% 0.1401 -0.1202)
OKLCHoklch(44.83% 0.185 319.4)
XYZxyz(14.4138, 7.6306, 28.3117)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2193 #369321
analogous
#452193 #7E2193 #93216F
triadic
#7E2193 #937E21 #21937E
tetradic
#7E2193 #934521 #369321 #216F93
square
#7E2193 #934521 #369321 #216F93
split-complementary
#7E2193 #6F9321 #219345
monochromatic
#280B2F #531661 #7E2193 #A92CC5 #C155D9

Accessibility & contrast

On white

8.31
#7E2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2193
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2193#FFFFFF#000000##FFFFFF
##7E21931.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2193;
/* rgb */ color: rgb(126, 33, 147);
/* oklch */ color: oklch(44.8% 0.185 319.4);
Tailwind
colors: {
  custom: {
    50: '#a767b3',
    500: '#7e2193',
    950: '#000000',
  },
}
SCSS
$custom: #7e2193;
$custom-light: #a767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2193",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 288.947,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.18465,
    "h": 319.4
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#7E2193
secondary
#67BD53
accent
#E64160
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2193

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

Preview Lab → · Contrast checker → · Palette generator →

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