#7E2086#7E2086

#7E2086 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.175 H 324.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7E2086
RGBrgb(126, 32, 134)
HSLhsl(295, 61%, 33%)
HSVhsv(295, 76%, 53%)
CMYKcmyk(6%, 76.1%, 0%, 47.5%)
CIE-LABlab(32.24, 52.46, -36.34)
CIE-LCHlch(32.24, 63.82, 325.29°)
OKLaboklab(43.88% 0.1422 -0.1013)
OKLCHoklch(43.88% 0.175 324.5)
XYZxyz(13.4234, 7.1907, 23.2306)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2086 #288620
analogous
#4B2086 #7E2086 #86205B
triadic
#7E2086 #867E20 #20867E
tetradic
#7E2086 #864B20 #288620 #205B86
square
#7E2086 #864B20 #288620 #205B86
split-complementary
#7E2086 #5B8620 #20864B
monochromatic
#210823 #501455 #7E2086 #AC2CB7 #CA4CD4

Accessibility & contrast

On white

8.61
#7E2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2086
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2086#FFFFFF#000000##FFFFFF
##7E20861.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#813252
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2086;
/* rgb */ color: rgb(126, 32, 134);
/* oklch */ color: oklch(43.9% 0.175 324.5);
Tailwind
colors: {
  custom: {
    50: '#a766aa',
    500: '#7e2086',
    950: '#000000',
  },
}
SCSS
$custom: #7e2086;
$custom-light: #a766aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2086",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 295.294,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43879,
    "c": 0.17455,
    "h": 324.5
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#7E2086
secondary
#53B74B
accent
#E54350
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E2086

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

Preview Lab → · Contrast checker → · Palette generator →

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