#7E146F#7E146F

#7E146F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.168 H 335.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E146F
RGBrgb(126, 20, 111)
HSLhsl(308, 73%, 29%)
HSVhsv(308, 84%, 49%)
CMYKcmyk(0%, 84.1%, 11.9%, 50.6%)
CIE-LABlab(29.63, 52.23, -25.97)
CIE-LCHlch(29.63, 58.33, 333.56°)
OKLaboklab(41.58% 0.1527 -0.0711)
OKLCHoklch(41.58% 0.168 335)
XYZxyz(11.7237, 6.0847, 15.5929)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E146F #147E23
analogous
#58147E #7E146F #7E143A
triadic
#7E146F #6F7E14 #146F7E
tetradic
#7E146F #7E5814 #147E23 #143A7E
square
#7E146F #7E5814 #147E23 #143A7E
split-complementary
#7E146F #3A7E14 #147E58
monochromatic
#1A0417 #490C40 #7E146F #B31C9E #DE2EC5

Accessibility & contrast

On white

9.47
#7E146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E146F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E146F#FFFFFF#000000##FFFFFF
##7E146F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C71
Deuteranopia (green-blind)
#3D4B6D
Tritanopia (blue-blind)
#851F42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e146f;
/* rgb */ color: rgb(126, 20, 111);
/* oklch */ color: oklch(41.6% 0.168 335.0);
Tailwind
colors: {
  custom: {
    50: '#a76198',
    500: '#7e146f',
    950: '#000000',
  },
}
SCSS
$custom: #7e146f;
$custom-light: #a76198;
$custom-dark: #000000;
JSON
{
  "hex": "#7e146f",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 308.491,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.1684,
    "h": 335
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#7E146F
secondary
#3AB34C
accent
#EF5238
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E146F

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

Preview Lab → · Contrast checker → · Palette generator →

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