#7E2092#7E2092

#7E2092 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.185 H 319.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7E2092
RGBrgb(126, 32, 146)
HSLhsl(289, 64%, 35%)
HSVhsv(289, 78%, 57%)
CMYKcmyk(13.7%, 78.1%, 0%, 42.7%)
CIE-LABlab(33.02, 54.71, -42.51)
CIE-LCHlch(33.02, 69.28, 322.15°)
OKLaboklab(44.68% 0.1412 -0.1193)
OKLCHoklch(44.68% 0.185 319.8)
XYZxyz(14.3083, 7.5447, 27.8912)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2092 #349220
analogous
#452092 #7E2092 #92206D
triadic
#7E2092 #927E20 #20927E
tetradic
#7E2092 #924520 #349220 #206D92
square
#7E2092 #924520 #349220 #206D92
split-complementary
#7E2092 #6D9220 #209245
monochromatic
#270A2E #531560 #7E2092 #A92BC4 #C253D9

Accessibility & contrast

On white

8.37
#7E2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7E2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2092
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2092#FFFFFF#000000##FFFFFF
##7E20921.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#2A518F
Tritanopia (blue-blind)
#7E3858
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2092;
/* rgb */ color: rgb(126, 32, 146);
/* oklch */ color: oklch(44.7% 0.185 319.8);
Tailwind
colors: {
  custom: {
    50: '#a767b3',
    500: '#7e2092',
    950: '#000000',
  },
}
SCSS
$custom: #7e2092;
$custom-light: #a767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2092",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 289.474,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.18482,
    "h": 319.8
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#7E2092
secondary
#64BD51
accent
#E7415E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2092

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

Preview Lab → · Contrast checker → · Palette generator →

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