#7E1D95#7E1D95

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

Color values

HEX#7E1D95
RGBrgb(126, 29, 149)
HSLhsl(289, 67%, 35%)
HSVhsv(289, 81%, 58%)
CMYKcmyk(15.4%, 80.5%, 0%, 41.6%)
CIE-LABlab(32.89, 56.25, -44.56)
CIE-LCHlch(32.89, 71.76, 321.62°)
OKLaboklab(44.66% 0.1433 -0.1253)
OKLCHoklch(44.66% 0.19 318.8)
XYZxyz(14.4676, 7.4850, 29.1106)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D95 #34951D
analogous
#421D95 #7E1D95 #951D70
triadic
#7E1D95 #957E1D #1D957E
tetradic
#7E1D95 #95421D #34951D #1D7095
square
#7E1D95 #95421D #34951D #1D7095
split-complementary
#7E1D95 #70951D #1D9542
monochromatic
#27092F #531362 #7E1D95 #A927C8 #C250DD

Accessibility & contrast

On white

8.41
#7E1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E1D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D95
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D95#FFFFFF#000000##FFFFFF
##7E1D951.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#255092
Tritanopia (blue-blind)
#7E3859
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e1d95;
/* rgb */ color: rgb(126, 29, 149);
/* oklch */ color: oklch(44.7% 0.190 318.8);
Tailwind
colors: {
  custom: {
    50: '#a766b5',
    500: '#7e1d95',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d95;
$custom-light: #a766b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d95",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 288.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.19033,
    "h": 318.8
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#7E1D95
secondary
#64C04E
accent
#EA3D5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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