#793595#793595

#793595 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.159 H 314.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#793595
RGBrgb(121, 53, 149)
HSLhsl(283, 48%, 40%)
HSVhsv(283, 64%, 58%)
CMYKcmyk(18.8%, 64.4%, 0%, 41.6%)
CIE-LABlab(35.56, 45.43, -40.30)
CIE-LCHlch(35.56, 60.73, 318.42°)
OKLaboklab(46.41% 0.1118 -0.1132)
OKLCHoklch(46.41% 0.159 314.7)
XYZxyz(14.5822, 8.7816, 29.3548)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793595 #519535
analogous
#493595 #793595 #953581
triadic
#793595 #957935 #359579
tetradic
#793595 #954935 #519535 #358195
square
#793595 #954935 #519535 #358195
split-complementary
#793595 #819535 #359549
monochromatic
#30153B #542568 #793595 #9C49BE #B576CE

Accessibility & contrast

On white

7.62
#793595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #793595
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793595#FFFFFF#000000##FFFFFF
##7935951.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105098
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#774760
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #793595;
/* rgb */ color: rgb(121, 53, 149);
/* oklch */ color: oklch(46.4% 0.159 314.7);
Tailwind
colors: {
  custom: {
    50: '#a371b5',
    500: '#793595',
    950: '#000000',
  },
}
SCSS
$custom: #793595;
$custom-light: #a371b5;
$custom-dark: #000000;
JSON
{
  "hex": "#793595",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 282.5,
    "s": 47.525,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.15909,
    "h": 314.7
  },
  "luminance": 0.08781
}

Semantic roles & 50–950 ramp

primary
#793595
secondary
#84B76F
accent
#D75178
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793595

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

Preview Lab → · Contrast checker → · Palette generator →

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