#7E147F#7E147F

#7E147F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 327.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7E147F
RGBrgb(126, 20, 127)
HSLhsl(299, 73%, 29%)
HSVhsv(299, 84%, 50%)
CMYKcmyk(0.8%, 84.3%, 0%, 50.2%)
CIE-LABlab(30.57, 54.80, -34.63)
CIE-LCHlch(30.57, 64.82, 327.71°)
OKLaboklab(42.55% 0.1525 -0.0962)
OKLCHoklch(42.55% 0.18 327.8)
XYZxyz(12.6849, 6.4692, 20.6551)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E147F #157F14
analogous
#49147F #7E147F #7F144B
triadic
#7E147F #7F7E14 #147F7E
tetradic
#7E147F #7F4914 #157F14 #144B7F
square
#7E147F #7F4914 #157F14 #144B7F
split-complementary
#7E147F #4B7F14 #147F49
monochromatic
#1A041A #4A0C4A #7E147F #B21CB4 #DD2FDE

Accessibility & contrast

On white

9.16
#7E147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E147F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E147F#FFFFFF#000000##FFFFFF
##7E147F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#344C7D
Tritanopia (blue-blind)
#82284B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e147f;
/* rgb */ color: rgb(126, 20, 127);
/* oklch */ color: oklch(42.6% 0.180 327.8);
Tailwind
colors: {
  custom: {
    50: '#a762a4',
    500: '#7e147f',
    950: '#000000',
  },
}
SCSS
$custom: #7e147f;
$custom-light: #a762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e147f",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 299.439,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.18031,
    "h": 327.8
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#7E147F
secondary
#3CB43B
accent
#EF383A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E147F

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

Preview Lab → · Contrast checker → · Palette generator →

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