#79127F#79127F

#79127F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.180 H 325.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#79127F
RGBrgb(121, 18, 127)
HSLhsl(297, 75%, 28%)
HSVhsv(297, 86%, 50%)
CMYKcmyk(4.7%, 85.8%, 0%, 50.2%)
CIE-LABlab(29.49, 54.28, -36.40)
CIE-LCHlch(29.49, 65.36, 326.15°)
OKLaboklab(41.62% 0.1483 -0.1015)
OKLCHoklch(41.62% 0.18 325.6)
XYZxyz(11.9320, 6.0307, 20.6101)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79127F #187F12
analogous
#42127F #79127F #7F124E
triadic
#79127F #7F7912 #127F79
tetradic
#79127F #7F4212 #187F12 #124E7F
square
#79127F #7F4212 #187F12 #124E7F
split-complementary
#79127F #4E7F12 #127F42
monochromatic
#1A041B #460A49 #79127F #AC1AB5 #D72BE1

Accessibility & contrast

On white

9.52
#79127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#79127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79127F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79127F#FFFFFF#000000##FFFFFF
##79127F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#7C294B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #79127f;
/* rgb */ color: rgb(121, 18, 127);
/* oklch */ color: oklch(41.6% 0.180 325.6);
Tailwind
colors: {
  custom: {
    50: '#a360a5',
    500: '#79127f',
    950: '#000000',
  },
}
SCSS
$custom: #79127f;
$custom-light: #a360a5;
$custom-dark: #000000;
JSON
{
  "hex": "#79127f",
  "rgb": {
    "r": 121,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 296.697,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.17967,
    "h": 325.6
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#79127F
secondary
#3FB538
accent
#F23640
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79127F

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

Preview Lab → · Contrast checker → · Palette generator →

#79127F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva