#792177#792177

#792177 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.158 H 328.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#792177
RGBrgb(121, 33, 119)
HSLhsl(301, 57%, 30%)
HSVhsv(301, 73%, 47%)
CMYKcmyk(0%, 72.7%, 1.7%, 52.5%)
CIE-LABlab(30.61, 48.25, -29.58)
CIE-LCHlch(30.61, 56.60, 328.49°)
OKLaboklab(42.26% 0.1355 -0.0817)
OKLCHoklch(42.26% 0.158 328.9)
XYZxyz(11.7587, 6.4854, 18.0817)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792177 #217923
analogous
#4F2179 #792177 #79214B
triadic
#792177 #777921 #217779
tetradic
#792177 #794F21 #217923 #214B79
square
#792177 #794F21 #217923 #214B79
split-complementary
#792177 #4B7921 #21794F
monochromatic
#190718 #491448 #792177 #A92EA6 #CD47CA

Accessibility & contrast

On white

9.14
#792177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#792177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792177
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792177#FFFFFF#000000##FFFFFF
##7921771.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154179
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#7D2D49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792177;
/* rgb */ color: rgb(121, 33, 119);
/* oklch */ color: oklch(42.3% 0.158 328.9);
Tailwind
colors: {
  custom: {
    50: '#a3659e',
    500: '#792177',
    950: '#000000',
  },
}
SCSS
$custom: #792177;
$custom-light: #a3659e;
$custom-dark: #000000;
JSON
{
  "hex": "#792177",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 301.364,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.15828,
    "h": 328.9
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#792177
secondary
#4AAC4C
accent
#E04B47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792177

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

Preview Lab → · Contrast checker → · Palette generator →

#792177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva