#7E146E#7E146E

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

Color values

HEX#7E146E
RGBrgb(126, 20, 110)
HSLhsl(309, 73%, 29%)
HSVhsv(309, 84%, 49%)
CMYKcmyk(0%, 84.1%, 12.7%, 50.6%)
CIE-LABlab(29.57, 52.08, -25.42)
CIE-LCHlch(29.57, 57.95, 333.99°)
OKLaboklab(41.52% 0.1526 -0.0695)
OKLCHoklch(41.52% 0.168 335.5)
XYZxyz(11.6690, 6.0628, 15.3045)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E146E #147E24
analogous
#59147E #7E146E #7E1439
triadic
#7E146E #6E7E14 #146E7E
tetradic
#7E146E #7E5914 #147E24 #14397E
square
#7E146E #7E5914 #147E24 #14397E
split-complementary
#7E146E #397E14 #147E59
monochromatic
#1A0417 #490C40 #7E146E #B31C9C #DE2EC3

Accessibility & contrast

On white

9.49
#7E146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E146E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E146E#FFFFFF#000000##FFFFFF
##7E146E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#851E41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e146e;
/* rgb */ color: rgb(126, 20, 110);
/* oklch */ color: oklch(41.5% 0.168 335.5);
Tailwind
colors: {
  custom: {
    50: '#a76198',
    500: '#7e146e',
    950: '#000000',
  },
}
SCSS
$custom: #7e146e;
$custom-light: #a76198;
$custom-dark: #000000;
JSON
{
  "hex": "#7e146e",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 309.057,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.16769,
    "h": 335.5
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#7E146E
secondary
#3AB34D
accent
#EF5438
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E146E

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

Preview Lab → · Contrast checker → · Palette generator →

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