#7E2C92#7E2C92

#7E2C92 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.171 H 319.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7E2C92
RGBrgb(126, 44, 146)
HSLhsl(288, 54%, 37%)
HSVhsv(288, 70%, 57%)
CMYKcmyk(13.7%, 69.9%, 0%, 42.7%)
CIE-LABlab(34.63, 50.12, -39.93)
CIE-LCHlch(34.63, 64.08, 321.46°)
OKLaboklab(45.83% 0.1291 -0.1118)
OKLCHoklch(45.83% 0.171 319.1)
XYZxyz(14.6925, 8.3130, 28.0192)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C92 #40922C
analogous
#4B2C92 #7E2C92 #922C73
triadic
#7E2C92 #927E2C #2C927E
tetradic
#7E2C92 #924B2C #40922C #2C7392
square
#7E2C92 #924B2C #40922C #2C7392
split-complementary
#7E2C92 #73922C #2C924B
monochromatic
#2D1034 #551E63 #7E2C92 #A73AC1 #BC67D1

Accessibility & contrast

On white

7.89
#7E2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7E2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C92
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C92#FFFFFF#000000##FFFFFF
##7E2C921.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#7E3F5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e2c92;
/* rgb */ color: rgb(126, 44, 146);
/* oklch */ color: oklch(45.8% 0.171 319.1);
Tailwind
colors: {
  custom: {
    50: '#a76cb2',
    500: '#7e2c92',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c92;
$custom-light: #a76cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c92",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 288.235,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.17077,
    "h": 319.1
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#7E2C92
secondary
#73B862
accent
#DD4B67
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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