#7E2192#7E2192

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

Color values

HEX#7E2192
RGBrgb(126, 33, 146)
HSLhsl(289, 63%, 35%)
HSVhsv(289, 77%, 57%)
CMYKcmyk(13.7%, 77.4%, 0%, 42.7%)
CIE-LABlab(33.13, 54.37, -42.32)
CIE-LCHlch(33.13, 68.89, 322.10°)
OKLaboklab(44.77% 0.1403 -0.1188)
OKLCHoklch(44.77% 0.184 319.7)
XYZxyz(14.3357, 7.5994, 27.9003)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2192 #359221
analogous
#462192 #7E2192 #92216D
triadic
#7E2192 #927E21 #21927E
tetradic
#7E2192 #924621 #359221 #216D92
square
#7E2192 #924621 #359221 #216D92
split-complementary
#7E2192 #6D9221 #219246
monochromatic
#280A2E #531660 #7E2192 #A92CC4 #C155D9

Accessibility & contrast

On white

8.33
#7E2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7E2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2192
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2192#FFFFFF#000000##FFFFFF
##7E21921.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#7E3859
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2192;
/* rgb */ color: rgb(126, 33, 146);
/* oklch */ color: oklch(44.8% 0.184 319.7);
Tailwind
colors: {
  custom: {
    50: '#a767b3',
    500: '#7e2192',
    950: '#000000',
  },
}
SCSS
$custom: #7e2192;
$custom-light: #a767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2192",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 289.381,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44765,
    "c": 0.18378,
    "h": 319.7
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#7E2192
secondary
#65BC53
accent
#E6425F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2192

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

Preview Lab → · Contrast checker → · Palette generator →

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