#7E2090#7E2090

#7E2090 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.183 H 320.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7E2090
RGBrgb(126, 32, 144)
HSLhsl(290, 64%, 35%)
HSVhsv(290, 78%, 56%)
CMYKcmyk(12.5%, 77.8%, 0%, 43.5%)
CIE-LABlab(32.88, 54.32, -41.49)
CIE-LCHlch(32.88, 68.36, 322.63°)
OKLaboklab(44.54% 0.1414 -0.1163)
OKLCHoklch(44.54% 0.183 320.5)
XYZxyz(14.1541, 7.4830, 27.0790)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2090 #329020
analogous
#462090 #7E2090 #90206A
triadic
#7E2090 #907E20 #20907E
tetradic
#7E2090 #904620 #329020 #206A90
square
#7E2090 #904620 #329020 #206A90
split-complementary
#7E2090 #6A9020 #209046
monochromatic
#260A2C #52155E #7E2090 #AA2BC2 #C352D9

Accessibility & contrast

On white

8.41
#7E2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2090
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2090#FFFFFF#000000##FFFFFF
##7E20901.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#2C518D
Tritanopia (blue-blind)
#7F3757
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2090;
/* rgb */ color: rgb(126, 32, 144);
/* oklch */ color: oklch(44.5% 0.183 320.5);
Tailwind
colors: {
  custom: {
    50: '#a767b1',
    500: '#7e2090',
    950: '#000000',
  },
}
SCSS
$custom: #7e2090;
$custom-light: #a767b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2090",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 290.357,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.18309,
    "h": 320.5
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#7E2090
secondary
#61BC50
accent
#E7415C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2090

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

Preview Lab → · Contrast checker → · Palette generator →

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