#7E2B92#7E2B92

#7E2B92 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.172 H 319.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7E2B92
RGBrgb(126, 43, 146)
HSLhsl(288, 54%, 37%)
HSVhsv(288, 71%, 57%)
CMYKcmyk(13.7%, 70.5%, 0%, 42.7%)
CIE-LABlab(34.48, 50.55, -40.16)
CIE-LCHlch(34.48, 64.56, 321.53°)
OKLaboklab(45.72% 0.1302 -0.1125)
OKLCHoklch(45.72% 0.172 319.2)
XYZxyz(14.6557, 8.2394, 28.0069)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B92 #3F922B
analogous
#4B2B92 #7E2B92 #922B72
triadic
#7E2B92 #927E2B #2B927E
tetradic
#7E2B92 #924B2B #3F922B #2B7292
square
#7E2B92 #924B2B #3F922B #2B7292
split-complementary
#7E2B92 #72922B #2B924B
monochromatic
#2C0F33 #551D63 #7E2B92 #A739C1 #BD66D2

Accessibility & contrast

On white

7.93
#7E2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7E2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B92
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B92#FFFFFF#000000##FFFFFF
##7E2B921.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2b92;
/* rgb */ color: rgb(126, 43, 146);
/* oklch */ color: oklch(45.7% 0.172 319.2);
Tailwind
colors: {
  custom: {
    50: '#a76cb2',
    500: '#7e2b92',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b92;
$custom-light: #a76cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b92",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 288.35,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.17208,
    "h": 319.2
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#7E2B92
secondary
#72B861
accent
#DE4A67
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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