#793395#793395

#793395 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 314.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#793395
RGBrgb(121, 51, 149)
HSLhsl(283, 49%, 39%)
HSVhsv(283, 66%, 58%)
CMYKcmyk(18.8%, 65.8%, 0%, 41.6%)
CIE-LABlab(35.21, 46.40, -40.87)
CIE-LCHlch(35.21, 61.83, 318.62°)
OKLaboklab(46.16% 0.1143 -0.1148)
OKLCHoklch(46.16% 0.162 314.9)
XYZxyz(14.4929, 8.6030, 29.3250)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793395 #4F9533
analogous
#483395 #793395 #953380
triadic
#793395 #957933 #339579
tetradic
#793395 #954833 #4F9533 #338095
square
#793395 #954833 #4F9533 #338095
split-complementary
#793395 #809533 #339548
monochromatic
#2F143A #542367 #793395 #9D46C0 #B573CF

Accessibility & contrast

On white

7.72
#793395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#793395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793395
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793395#FFFFFF#000000##FFFFFF
##7933951.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F98
Deuteranopia (green-blind)
#315593
Tritanopia (blue-blind)
#77455F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #793395;
/* rgb */ color: rgb(121, 51, 149);
/* oklch */ color: oklch(46.2% 0.162 314.9);
Tailwind
colors: {
  custom: {
    50: '#a370b5',
    500: '#793395',
    950: '#000000',
  },
}
SCSS
$custom: #793395;
$custom-light: #a370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#793395",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 282.857,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.162,
    "h": 314.9
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#793395
secondary
#82B76C
accent
#D94F76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793395

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

Preview Lab → · Contrast checker → · Palette generator →

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