#7E2E92#7E2E92

#7E2E92 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.168 H 318.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7E2E92
RGBrgb(126, 46, 146)
HSLhsl(288, 52%, 38%)
HSVhsv(288, 68%, 57%)
CMYKcmyk(13.7%, 68.5%, 0%, 42.7%)
CIE-LABlab(34.93, 49.26, -39.43)
CIE-LCHlch(34.93, 63.10, 321.32°)
OKLaboklab(46.05% 0.1268 -0.1104)
OKLCHoklch(46.05% 0.168 318.9)
XYZxyz(14.7688, 8.4656, 28.0446)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E92 #42922E
analogous
#4C2E92 #7E2E92 #922E74
triadic
#7E2E92 #927E2E #2E927E
tetradic
#7E2E92 #924C2E #42922E #2E7492
square
#7E2E92 #924C2E #42922E #2E7492
split-complementary
#7E2E92 #74922E #2E924C
monochromatic
#2E1135 #561F63 #7E2E92 #A63DC1 #BC6AD0

Accessibility & contrast

On white

7.80
#7E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E92
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E92#FFFFFF#000000##FFFFFF
##7E2E921.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054D95
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#7E405C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e2e92;
/* rgb */ color: rgb(126, 46, 146);
/* oklch */ color: oklch(46.1% 0.168 318.9);
Tailwind
colors: {
  custom: {
    50: '#a66db2',
    500: '#7e2e92',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e92;
$custom-light: #a66db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e92",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 288,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.16812,
    "h": 318.9
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#7E2E92
secondary
#75B765
accent
#DC4C69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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