#791886#791886

#791886 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.180 H 322.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#791886
RGBrgb(121, 24, 134)
HSLhsl(293, 70%, 31%)
HSVhsv(293, 82%, 53%)
CMYKcmyk(9.7%, 82.1%, 0%, 47.5%)
CIE-LABlab(30.50, 53.95, -39.17)
CIE-LCHlch(30.50, 66.67, 324.02°)
OKLaboklab(42.48% 0.1432 -0.1096)
OKLCHoklch(42.48% 0.18 322.6)
XYZxyz(12.5144, 6.4402, 23.1336)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791886 #258618
analogous
#421886 #791886 #86185C
triadic
#791886 #867918 #188679
tetradic
#791886 #864218 #258618 #185C86
square
#791886 #864218 #258618 #185C86
split-complementary
#791886 #5C8618 #188642
monochromatic
#1B051E #4A0F52 #791886 #A821BA #C93CDC

Accessibility & contrast

On white

9.18
#791886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#791886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791886
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791886#FFFFFF#000000##FFFFFF
##7918861.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#2B4B84
Tritanopia (blue-blind)
#7B2F50
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791886;
/* rgb */ color: rgb(121, 24, 134);
/* oklch */ color: oklch(42.5% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#a363aa',
    500: '#791886',
    950: '#000000',
  },
}
SCSS
$custom: #791886;
$custom-light: #a363aa;
$custom-dark: #000000;
JSON
{
  "hex": "#791886",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 292.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.18034,
    "h": 322.6
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#791886
secondary
#4EBA40
accent
#EC3B50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791886

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

Preview Lab → · Contrast checker → · Palette generator →

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