#7E2D92#7E2D92

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

Color values

HEX#7E2D92
RGBrgb(126, 45, 146)
HSLhsl(288, 53%, 37%)
HSVhsv(288, 69%, 57%)
CMYKcmyk(13.7%, 69.2%, 0%, 42.7%)
CIE-LABlab(34.78, 49.70, -39.68)
CIE-LCHlch(34.78, 63.60, 321.39°)
OKLaboklab(45.94% 0.1279 -0.1111)
OKLCHoklch(45.94% 0.169 319)
XYZxyz(14.7302, 8.3884, 28.0318)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D92 #41922D
analogous
#4C2D92 #7E2D92 #922D73
triadic
#7E2D92 #927E2D #2D927E
tetradic
#7E2D92 #924C2D #41922D #2D7392
square
#7E2D92 #924C2D #41922D #2D7392
split-complementary
#7E2D92 #73922D #2D924C
monochromatic
#2D1034 #561F63 #7E2D92 #A63BC1 #BC69D1

Accessibility & contrast

On white

7.84
#7E2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D92
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D92#FFFFFF#000000##FFFFFF
##7E2D921.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C95
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#7E405C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e2d92;
/* rgb */ color: rgb(126, 45, 146);
/* oklch */ color: oklch(45.9% 0.169 319.0);
Tailwind
colors: {
  custom: {
    50: '#a76db2',
    500: '#7e2d92',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d92;
$custom-light: #a76db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d92",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 288.119,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.16945,
    "h": 319
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#7E2D92
secondary
#74B763
accent
#DC4C68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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