#793586#793586

#793586 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.144 H 321.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#793586
RGBrgb(121, 53, 134)
HSLhsl(290, 43%, 37%)
HSVhsv(290, 60%, 53%)
CMYKcmyk(9.7%, 60.4%, 0%, 47.5%)
CIE-LABlab(34.67, 42.23, -32.52)
CIE-LCHlch(34.67, 53.30, 322.40°)
OKLaboklab(45.47% 0.1115 -0.0905)
OKLCHoklch(45.47% 0.144 321)
XYZxyz(13.4608, 8.3330, 23.4490)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793586 #428635
analogous
#513586 #793586 #86356B
triadic
#793586 #867935 #358679
tetradic
#793586 #865135 #428635 #356B86
square
#793586 #865135 #428635 #356B86
split-complementary
#793586 #6B8635 #358651
monochromatic
#2A122E #51245A #793586 #A146B2 #B86FC6

Accessibility & contrast

On white

7.88
#793586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#793586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793586
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793586#FFFFFF#000000##FFFFFF
##7935861.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#3D5484
Tritanopia (blue-blind)
#7A4158
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #793586;
/* rgb */ color: rgb(121, 53, 134);
/* oklch */ color: oklch(45.5% 0.144 321.0);
Tailwind
colors: {
  custom: {
    50: '#a270a9',
    500: '#793586',
    950: '#000000',
  },
}
SCSS
$custom: #793586;
$custom-light: #a270a9;
$custom-dark: #000000;
JSON
{
  "hex": "#793586",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 290.37,
    "s": 43.316,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.1436,
    "h": 321
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#793586
secondary
#74AE68
accent
#D35569
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793586

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

Preview Lab → · Contrast checker → · Palette generator →

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