#7E2080#7E2080

#7E2080 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.170 H 327.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7E2080
RGBrgb(126, 32, 128)
HSLhsl(299, 60%, 31%)
HSVhsv(299, 75%, 50%)
CMYKcmyk(1.6%, 75%, 0%, 49.8%)
CIE-LABlab(31.87, 51.39, -33.18)
CIE-LCHlch(31.87, 61.17, 327.15°)
OKLaboklab(43.5% 0.1424 -0.0921)
OKLCHoklch(43.5% 0.17 327.1)
XYZxyz(13.0168, 7.0281, 21.0888)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2080 #228020
analogous
#4E2080 #7E2080 #802052
triadic
#7E2080 #807E20 #20807E
tetradic
#7E2080 #804E20 #228020 #205280
square
#7E2080 #804E20 #228020 #205280
split-complementary
#7E2080 #528020 #20804E
monochromatic
#1E081E #4E144F #7E2080 #AE2CB1 #CF49D1

Accessibility & contrast

On white

8.73
#7E2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2080
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2080#FFFFFF#000000##FFFFFF
##7E20801.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094383
Deuteranopia (green-blind)
#384F7E
Tritanopia (blue-blind)
#822F4E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2080;
/* rgb */ color: rgb(126, 32, 128);
/* oklch */ color: oklch(43.5% 0.170 327.1);
Tailwind
colors: {
  custom: {
    50: '#a766a5',
    500: '#7e2080',
    950: '#000000',
  },
}
SCSS
$custom: #7e2080;
$custom-light: #a766a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2080",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 298.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.435,
    "c": 0.16955,
    "h": 327.1
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#7E2080
secondary
#4BB349
accent
#E34548
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E2080

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

Preview Lab → · Contrast checker → · Palette generator →

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