#793AB5#793AB5

#793AB5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.187 H 303.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#793AB5
RGBrgb(121, 58, 181)
HSLhsl(271, 51%, 47%)
HSVhsv(271, 68%, 71%)
CMYKcmyk(33.1%, 68%, 0%, 29%)
CIE-LABlab(38.60, 50.39, -54.60)
CIE-LCHlch(38.60, 74.30, 312.70°)
OKLaboklab(49.28% 0.1036 -0.1551)
OKLCHoklch(49.28% 0.187 303.7)
XYZxyz(17.7368, 10.4273, 44.7854)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AB5 #76B53A
analogous
#3C3AB5 #793AB5 #B53AB3
triadic
#793AB5 #B5793A #3AB579
tetradic
#793AB5 #B53C3A #76B53A #3AB3B5
square
#793AB5 #B53C3A #76B53A #3AB3B5
split-complementary
#793AB5 #B3B53A #3AB53C
monochromatic
#3B1C58 #5A2B87 #793AB5 #9760CC #B68EDB

Accessibility & contrast

On white

6.81
#793AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#793AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793AB5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AB5#FFFFFF#000000##FFFFFF
##793AB51.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#045BB2
Tritanopia (blue-blind)
#6D5673
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793ab5;
/* rgb */ color: rgb(121, 58, 181);
/* oklch */ color: oklch(49.3% 0.187 303.7);
Tailwind
colors: {
  custom: {
    50: '#a475cc',
    500: '#793ab5',
    950: '#000000',
  },
}
SCSS
$custom: #793ab5;
$custom-light: #a475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#793ab5",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 270.732,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.18654,
    "h": 303.7
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#793AB5
secondary
#A5C685
accent
#DB4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793AB5

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

Preview Lab → · Contrast checker → · Palette generator →

#793AB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva