#7E2194#7E2194

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

Color values

HEX#7E2194
RGBrgb(126, 33, 148)
HSLhsl(289, 64%, 35%)
HSVhsv(289, 78%, 58%)
CMYKcmyk(14.9%, 77.7%, 0%, 42%)
CIE-LABlab(33.27, 54.75, -43.33)
CIE-LCHlch(33.27, 69.82, 321.64°)
OKLaboklab(44.9% 0.14 -0.1217)
OKLCHoklch(44.9% 0.186 319)
XYZxyz(14.4926, 7.6622, 28.7268)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2194 #379421
analogous
#452194 #7E2194 #942170
triadic
#7E2194 #947E21 #21947E
tetradic
#7E2194 #944521 #379421 #217094
square
#7E2194 #944521 #379421 #217094
split-complementary
#7E2194 #709421 #219445
monochromatic
#290B30 #531662 #7E2194 #A92CC6 #C056D9

Accessibility & contrast

On white

8.29
#7E2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2194
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2194#FFFFFF#000000##FFFFFF
##7E21941.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#295191
Tritanopia (blue-blind)
#7E395A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2194;
/* rgb */ color: rgb(126, 33, 148);
/* oklch */ color: oklch(44.9% 0.186 319.0);
Tailwind
colors: {
  custom: {
    50: '#a767b4',
    500: '#7e2194',
    950: '#000000',
  },
}
SCSS
$custom: #7e2194;
$custom-light: #a767b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2194",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 288.522,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.18553,
    "h": 319
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#7E2194
secondary
#68BD54
accent
#E74161
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2194

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

Preview Lab → · Contrast checker → · Palette generator →

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