#792086#792086

#792086 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.172 H 322.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#792086
RGBrgb(121, 32, 134)
HSLhsl(292, 61%, 33%)
HSVhsv(292, 76%, 53%)
CMYKcmyk(9.7%, 76.1%, 0%, 47.5%)
CIE-LABlab(31.39, 51.37, -37.74)
CIE-LCHlch(31.39, 63.74, 323.70°)
OKLaboklab(43.11% 0.1362 -0.1055)
OKLCHoklch(43.11% 0.172 322.2)
XYZxyz(12.7043, 6.8199, 23.1968)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792086 #2D8620
analogous
#462086 #792086 #862060
triadic
#792086 #867920 #208679
tetradic
#792086 #864620 #2D8620 #206086
square
#792086 #864620 #2D8620 #206086
split-complementary
#792086 #608620 #208646
monochromatic
#200823 #4C1455 #792086 #A62CB7 #C34CD4

Accessibility & contrast

On white

8.88
#792086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#792086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792086
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792086#FFFFFF#000000##FFFFFF
##7920861.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#7A3352
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792086;
/* rgb */ color: rgb(121, 32, 134);
/* oklch */ color: oklch(43.1% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#a366aa',
    500: '#792086',
    950: '#000000',
  },
}
SCSS
$custom: #792086;
$custom-light: #a366aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792086",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 292.353,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.17227,
    "h": 322.2
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#792086
secondary
#58B74B
accent
#E54358
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #792086

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

Preview Lab → · Contrast checker → · Palette generator →

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