#7E147D#7E147D

#7E147D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.179 H 328.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7E147D
RGBrgb(126, 20, 125)
HSLhsl(301, 73%, 29%)
HSVhsv(301, 84%, 49%)
CMYKcmyk(0%, 84.1%, 0.8%, 50.6%)
CIE-LABlab(30.44, 54.46, -33.57)
CIE-LCHlch(30.44, 63.98, 328.35°)
OKLaboklab(42.42% 0.1526 -0.0931)
OKLCHoklch(42.42% 0.179 328.6)
XYZxyz(12.5559, 6.4176, 19.9755)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E147D #147E15
analogous
#4A147E #7E147D #7E1448
triadic
#7E147D #7D7E14 #147D7E
tetradic
#7E147D #7E4A14 #147E15 #14487E
square
#7E147D #7E4A14 #147E15 #14487E
split-complementary
#7E147D #487E14 #147E4A
monochromatic
#1A041A #490C49 #7E147D #B31CB1 #DE2EDC

Accessibility & contrast

On white

9.20
#7E147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E147D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E147D#FFFFFF#000000##FFFFFF
##7E147D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#354C7B
Tritanopia (blue-blind)
#82274A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e147d;
/* rgb */ color: rgb(126, 20, 125);
/* oklch */ color: oklch(42.4% 0.179 328.6);
Tailwind
colors: {
  custom: {
    50: '#a762a3',
    500: '#7e147d',
    950: '#000000',
  },
}
SCSS
$custom: #7e147d;
$custom-light: #a762a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e147d",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 300.566,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42424,
    "c": 0.17878,
    "h": 328.6
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#7E147D
secondary
#3AB33C
accent
#EF3A38
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E147D

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

Preview Lab → · Contrast checker → · Palette generator →

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