#7E2E90#7E2E90

#7E2E90 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 319.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7E2E90
RGBrgb(126, 46, 144)
HSLhsl(289, 52%, 37%)
HSVhsv(289, 68%, 56%)
CMYKcmyk(12.5%, 68.1%, 0%, 43.5%)
CIE-LABlab(34.81, 48.86, -38.41)
CIE-LCHlch(34.81, 62.15, 321.83°)
OKLaboklab(45.92% 0.1268 -0.1074)
OKLCHoklch(45.92% 0.166 319.7)
XYZxyz(14.6146, 8.4039, 27.2325)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E90 #40902E
analogous
#4D2E90 #7E2E90 #902E71
triadic
#7E2E90 #907E2E #2E907E
tetradic
#7E2E90 #904D2E #40902E #2E7190
square
#7E2E90 #904D2E #40902E #2E7190
split-complementary
#7E2E90 #71902E #2E904D
monochromatic
#2D1033 #551F62 #7E2E90 #A73DBE #BC69CF

Accessibility & contrast

On white

7.83
#7E2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E90
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E90#FFFFFF#000000##FFFFFF
##7E2E901.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C93
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#7E3F5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e2e90;
/* rgb */ color: rgb(126, 46, 144);
/* oklch */ color: oklch(45.9% 0.166 319.7);
Tailwind
colors: {
  custom: {
    50: '#a66db1',
    500: '#7e2e90',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e90;
$custom-light: #a66db1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e90",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 288.98,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.16621,
    "h": 319.7
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#7E2E90
secondary
#73B664
accent
#DB4D67
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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