#7F146F#7F146F

#7F146F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.169 H 335.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7F146F
RGBrgb(127, 20, 111)
HSLhsl(309, 73%, 29%)
HSVhsv(309, 84%, 50%)
CMYKcmyk(0%, 84.3%, 12.6%, 50.2%)
CIE-LABlab(29.82, 52.46, -25.66)
CIE-LCHlch(29.82, 58.40, 333.93°)
OKLaboklab(41.75% 0.1537 -0.0702)
OKLCHoklch(41.75% 0.169 335.4)
XYZxyz(11.8720, 6.1612, 15.5998)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F146F #147F24
analogous
#5A147F #7F146F #7F143A
triadic
#7F146F #6F7F14 #146F7F
tetradic
#7F146F #7F5A14 #147F24 #143A7F
square
#7F146F #7F5A14 #147F24 #143A7F
split-complementary
#7F146F #3A7F14 #147F5A
monochromatic
#1A0417 #4A0C41 #7F146F #B41C9D #DE2FC4

Accessibility & contrast

On white

9.41
#7F146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F146F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F146F#FFFFFF#000000##FFFFFF
##7F146F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#861E42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f146f;
/* rgb */ color: rgb(127, 20, 111);
/* oklch */ color: oklch(41.8% 0.169 335.4);
Tailwind
colors: {
  custom: {
    50: '#a86198',
    500: '#7f146f',
    950: '#000000',
  },
}
SCSS
$custom: #7f146f;
$custom-light: #a86198;
$custom-dark: #000000;
JSON
{
  "hex": "#7f146f",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 308.972,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.16894,
    "h": 335.4
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#7F146F
secondary
#3BB44D
accent
#EF5438
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F146F

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

Preview Lab → · Contrast checker → · Palette generator →

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