#793596#793596

#793596 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.160 H 314.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#793596
RGBrgb(121, 53, 150)
HSLhsl(282, 48%, 40%)
HSVhsv(282, 65%, 59%)
CMYKcmyk(19.3%, 64.7%, 0%, 41.2%)
CIE-LABlab(35.62, 45.65, -40.81)
CIE-LCHlch(35.62, 61.23, 318.20°)
OKLaboklab(46.48% 0.1118 -0.1146)
OKLCHoklch(46.48% 0.16 314.3)
XYZxyz(14.6624, 8.8136, 29.7771)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793596 #529635
analogous
#493596 #793596 #963582
triadic
#793596 #967935 #359679
tetradic
#793596 #964935 #529635 #358296
square
#793596 #964935 #529635 #358296
split-complementary
#793596 #829635 #359649
monochromatic
#30153C #552569 #793596 #9C49BF #B477CF

Accessibility & contrast

On white

7.60
#793596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#793596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793596
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793596#FFFFFF#000000##FFFFFF
##7935961.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5099
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#764760
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #793596;
/* rgb */ color: rgb(121, 53, 150);
/* oklch */ color: oklch(46.5% 0.160 314.3);
Tailwind
colors: {
  custom: {
    50: '#a371b5',
    500: '#793596',
    950: '#000000',
  },
}
SCSS
$custom: #793596;
$custom-light: #a371b5;
$custom-dark: #000000;
JSON
{
  "hex": "#793596",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 282.062,
    "s": 47.783,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.16014,
    "h": 314.3
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#793596
secondary
#85B76F
accent
#D75079
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793596

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

Preview Lab → · Contrast checker → · Palette generator →

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