#7E1E95#7E1E95

#7E1E95 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.189 H 318.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7E1E95
RGBrgb(126, 30, 149)
HSLhsl(288, 66%, 35%)
HSVhsv(288, 80%, 58%)
CMYKcmyk(15.4%, 79.9%, 0%, 41.6%)
CIE-LABlab(32.99, 55.94, -44.38)
CIE-LCHlch(32.99, 71.40, 321.57°)
OKLaboklab(44.73% 0.1425 -0.1248)
OKLCHoklch(44.73% 0.189 318.8)
XYZxyz(14.4925, 7.5348, 29.1189)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E95 #35951E
analogous
#421E95 #7E1E95 #951E71
triadic
#7E1E95 #957E1E #1E957E
tetradic
#7E1E95 #95421E #35951E #1E7195
square
#7E1E95 #95421E #35951E #1E7195
split-complementary
#7E1E95 #71951E #1E9542
monochromatic
#28092F #531462 #7E1E95 #A928C8 #C151DC

Accessibility & contrast

On white

8.38
#7E1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7E1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E95
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E95#FFFFFF#000000##FFFFFF
##7E1E951.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#265192
Tritanopia (blue-blind)
#7E385A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e1e95;
/* rgb */ color: rgb(126, 30, 149);
/* oklch */ color: oklch(44.7% 0.189 318.8);
Tailwind
colors: {
  custom: {
    50: '#a766b5',
    500: '#7e1e95',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e95;
$custom-light: #a766b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e95",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 288.403,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.18939,
    "h": 318.8
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#7E1E95
secondary
#65BF50
accent
#E93E5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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