#7E2D93#7E2D93

#7E2D93 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.170 H 318.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7E2D93
RGBrgb(126, 45, 147)
HSLhsl(288, 53%, 38%)
HSVhsv(288, 69%, 58%)
CMYKcmyk(14.3%, 69.4%, 0%, 42.4%)
CIE-LABlab(34.84, 49.90, -40.19)
CIE-LCHlch(34.84, 64.07, 321.15°)
OKLaboklab(46% 0.1279 -0.1126)
OKLCHoklch(46% 0.17 318.6)
XYZxyz(14.8083, 8.4196, 28.4432)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D93 #42932D
analogous
#4B2D93 #7E2D93 #932D75
triadic
#7E2D93 #937E2D #2D937E
tetradic
#7E2D93 #934B2D #42932D #2D7593
square
#7E2D93 #934B2D #42932D #2D7593
split-complementary
#7E2D93 #75932D #2D934B
monochromatic
#2E1035 #561F64 #7E2D93 #A63BC2 #BC69D1

Accessibility & contrast

On white

7.82
#7E2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D93
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D93#FFFFFF#000000##FFFFFF
##7E2D931.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#7E405C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e2d93;
/* rgb */ color: rgb(126, 45, 147);
/* oklch */ color: oklch(46.0% 0.170 318.6);
Tailwind
colors: {
  custom: {
    50: '#a76db3',
    500: '#7e2d93',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d93;
$custom-light: #a76db3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d93",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 287.647,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.17041,
    "h": 318.6
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#7E2D93
secondary
#75B864
accent
#DD4B69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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