#7E1375#7E1375

#7E1375 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.174 H 332.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7E1375
RGBrgb(126, 19, 117)
HSLhsl(305, 74%, 28%)
HSVhsv(305, 85%, 49%)
CMYKcmyk(0%, 84.9%, 7.1%, 50.6%)
CIE-LABlab(29.88, 53.41, -29.40)
CIE-LCHlch(29.88, 60.97, 331.17°)
OKLaboklab(41.87% 0.1535 -0.081)
OKLCHoklch(41.87% 0.174 332.2)
XYZxyz(12.0480, 6.1868, 17.3858)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1375 #137E1C
analogous
#51137E #7E1375 #7E133F
triadic
#7E1375 #757E13 #13757E
tetradic
#7E1375 #7E5113 #137E1C #133F7E
square
#7E1375 #7E5113 #137E1C #133F7E
split-complementary
#7E1375 #3F7E13 #137E51
monochromatic
#1B0419 #490B44 #7E1375 #B31BA6 #DF2CD0

Accessibility & contrast

On white

9.39
#7E1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1375
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1375#FFFFFF#000000##FFFFFF
##7E13751.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D77
Deuteranopia (green-blind)
#3A4B73
Tritanopia (blue-blind)
#842245
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1375;
/* rgb */ color: rgb(126, 19, 117);
/* oklch */ color: oklch(41.9% 0.174 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7619d',
    500: '#7e1375',
    950: '#000000',
  },
}
SCSS
$custom: #7e1375;
$custom-light: #a7619d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1375",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 305.047,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.17358,
    "h": 332.2
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#7E1375
secondary
#39B444
accent
#F04737
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1375

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

Preview Lab → · Contrast checker → · Palette generator →

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