#7E1D75#7E1D75

#7E1D75 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.164 H 332.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7E1D75
RGBrgb(126, 29, 117)
HSLhsl(306, 63%, 30%)
HSVhsv(306, 77%, 49%)
CMYKcmyk(0%, 77%, 7.1%, 50.6%)
CIE-LABlab(30.88, 50.53, -27.82)
CIE-LCHlch(30.88, 57.69, 331.16°)
OKLaboklab(42.58% 0.1451 -0.0765)
OKLCHoklch(42.58% 0.164 332.2)
XYZxyz(12.2545, 6.5997, 17.4546)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D75 #1D7E26
analogous
#561D7E #7E1D75 #7E1D44
triadic
#7E1D75 #757E1D #1D757E
tetradic
#7E1D75 #7E561D #1D7E26 #1D447E
square
#7E1D75 #7E561D #1D7E26 #1D447E
split-complementary
#7E1D75 #447E1D #1D7E56
monochromatic
#1B0619 #4C1247 #7E1D75 #B028A3 #D342C6

Accessibility & contrast

On white

9.05
#7E1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E1D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D75
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D75#FFFFFF#000000##FFFFFF
##7E1D751.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164077
Deuteranopia (green-blind)
#3D4D73
Tritanopia (blue-blind)
#842847
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1d75;
/* rgb */ color: rgb(126, 29, 117);
/* oklch */ color: oklch(42.6% 0.164 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7649d',
    500: '#7e1d75',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d75;
$custom-light: #a7649d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d75",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 305.567,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.16407,
    "h": 332.2
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#7E1D75
secondary
#45B14F
accent
#E65142
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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