#7E2B93#7E2B93

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

Color values

HEX#7E2B93
RGBrgb(126, 43, 147)
HSLhsl(288, 55%, 37%)
HSVhsv(288, 71%, 58%)
CMYKcmyk(14.3%, 70.7%, 0%, 42.4%)
CIE-LABlab(34.54, 50.75, -40.68)
CIE-LCHlch(34.54, 65.04, 321.29°)
OKLaboklab(45.79% 0.1301 -0.114)
OKLCHoklch(45.79% 0.173 318.8)
XYZxyz(14.7338, 8.2706, 28.4184)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B93 #40932B
analogous
#4A2B93 #7E2B93 #932B74
triadic
#7E2B93 #937E2B #2B937E
tetradic
#7E2B93 #934A2B #40932B #2B7493
square
#7E2B93 #934A2B #40932B #2B7493
split-complementary
#7E2B93 #74932B #2B934A
monochromatic
#2D0F34 #551D64 #7E2B93 #A739C2 #BC66D2

Accessibility & contrast

On white

7.91
#7E2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B93
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B93#FFFFFF#000000##FFFFFF
##7E2B931.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#315491
Tritanopia (blue-blind)
#7E3F5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e2b93;
/* rgb */ color: rgb(126, 43, 147);
/* oklch */ color: oklch(45.8% 0.173 318.8);
Tailwind
colors: {
  custom: {
    50: '#a76cb3',
    500: '#7e2b93',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b93;
$custom-light: #a76cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b93",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 287.885,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.17301,
    "h": 318.8
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#7E2B93
secondary
#73B961
accent
#DE4A68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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