#7E2E93#7E2E93

#7E2E93 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.169 H 318.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7E2E93
RGBrgb(126, 46, 147)
HSLhsl(288, 52%, 38%)
HSVhsv(288, 69%, 58%)
CMYKcmyk(14.3%, 68.7%, 0%, 42.4%)
CIE-LABlab(35.00, 49.46, -39.94)
CIE-LCHlch(35.00, 63.58, 321.08°)
OKLaboklab(46.12% 0.1268 -0.1119)
OKLCHoklch(46.12% 0.169 318.6)
XYZxyz(14.8469, 8.4969, 28.4561)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E93 #43932E
analogous
#4B2E93 #7E2E93 #932E75
triadic
#7E2E93 #937E2E #2E937E
tetradic
#7E2E93 #934B2E #43932E #2E7593
square
#7E2E93 #934B2E #43932E #2E7593
split-complementary
#7E2E93 #75932E #2E934B
monochromatic
#2E1136 #561F64 #7E2E93 #A63DC2 #BB6BD1

Accessibility & contrast

On white

7.78
#7E2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7E2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E93
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E93#FFFFFF#000000##FFFFFF
##7E2E931.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2e93;
/* rgb */ color: rgb(126, 46, 147);
/* oklch */ color: oklch(46.1% 0.169 318.6);
Tailwind
colors: {
  custom: {
    50: '#a66db3',
    500: '#7e2e93',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e93;
$custom-light: #a66db3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e93",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 287.525,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.16908,
    "h": 318.6
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#7E2E93
secondary
#76B865
accent
#DC4C6A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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