#7E2084#7E2084

#7E2084 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.173 H 325.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7E2084
RGBrgb(126, 32, 132)
HSLhsl(296, 61%, 32%)
HSVhsv(296, 76%, 52%)
CMYKcmyk(4.5%, 75.8%, 0%, 48.2%)
CIE-LABlab(32.11, 52.10, -35.29)
CIE-LCHlch(32.11, 62.93, 325.89°)
OKLaboklab(43.75% 0.1423 -0.0982)
OKLCHoklch(43.75% 0.173 325.4)
XYZxyz(13.2853, 7.1355, 22.5029)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2084 #268420
analogous
#4C2084 #7E2084 #842058
triadic
#7E2084 #847E20 #20847E
tetradic
#7E2084 #844C20 #268420 #205884
square
#7E2084 #844C20 #268420 #205884
split-complementary
#7E2084 #588420 #20844C
monochromatic
#200821 #4F1453 #7E2084 #AD2CB5 #CB4BD3

Accessibility & contrast

On white

8.65
#7E2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2084
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2084#FFFFFF#000000##FFFFFF
##7E20841.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#364F82
Tritanopia (blue-blind)
#813150
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2084;
/* rgb */ color: rgb(126, 32, 132);
/* oklch */ color: oklch(43.8% 0.173 325.4);
Tailwind
colors: {
  custom: {
    50: '#a766a8',
    500: '#7e2084',
    950: '#000000',
  },
}
SCSS
$custom: #7e2084;
$custom-light: #a766a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2084",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 296.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.17287,
    "h": 325.4
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#7E2084
secondary
#50B64A
accent
#E4444D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E2084

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

Preview Lab → · Contrast checker → · Palette generator →

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