#7E149F#7E149F

#7E149F is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.8% C 0.206 H 315.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7E149F
RGBrgb(126, 20, 159)
HSLhsl(286, 78%, 35%)
HSVhsv(286, 87%, 62%)
CMYKcmyk(20.8%, 87.4%, 0%, 37.6%)
CIE-LABlab(32.79, 60.58, -50.81)
CIE-LCHlch(32.79, 79.07, 320.01°)
OKLaboklab(44.82% 0.1475 -0.1436)
OKLCHoklch(44.82% 0.206 315.8)
XYZxyz(15.1113, 7.4398, 33.4342)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E149F #359F14
analogous
#38149F #7E149F #9F147B
triadic
#7E149F #9F7E14 #149F7E
tetradic
#7E149F #9F3814 #359F14 #147B9F
square
#7E149F #9F3814 #359F14 #147B9F
split-complementary
#7E149F #7B9F14 #149F38
monochromatic
#280632 #530D69 #7E149F #A91BD5 #C146E8

Accessibility & contrast

On white

8.44
#7E149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E149F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E149F#FFFFFF#000000##FFFFFF
##7E149F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#0C509C
Tritanopia (blue-blind)
#7B395E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e149f;
/* rgb */ color: rgb(126, 20, 159);
/* oklch */ color: oklch(44.8% 0.206 315.8);
Tailwind
colors: {
  custom: {
    50: '#a864bc',
    500: '#7e149f',
    950: '#000000',
  },
}
SCSS
$custom: #7e149f;
$custom-light: #a864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e149f",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 285.755,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.20585,
    "h": 315.8
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#7E149F
secondary
#65C846
accent
#F43461
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E149F

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

Preview Lab → · Contrast checker → · Palette generator →

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