#793ABA#793ABA

#793ABA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.192 H 302.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#793ABA
RGBrgb(121, 58, 186)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 69%, 73%)
CMYKcmyk(34.9%, 68.8%, 0%, 27.1%)
CIE-LABlab(38.96, 51.60, -56.96)
CIE-LCHlch(38.96, 76.86, 312.17°)
OKLaboklab(49.66% 0.1029 -0.1621)
OKLCHoklch(49.66% 0.192 302.4)
XYZxyz(18.2590, 10.6362, 47.5359)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ABA #7BBA3A
analogous
#3A3BBA #793ABA #B93ABA
triadic
#793ABA #BA793A #3ABA79
tetradic
#793ABA #BA3A3B #7BBA3A #3ABAB9
square
#793ABA #BA3A3B #7BBA3A #3ABAB9
split-complementary
#793ABA #BAB93A #3BBA3A
monochromatic
#3C1D5D #5B2B8B #793ABA #9863CE #B792DD

Accessibility & contrast

On white

6.72
#793ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#793ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ABA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ABA#FFFFFF#000000##FFFFFF
##793ABA1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#6C5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793aba;
/* rgb */ color: rgb(121, 58, 186);
/* oklch */ color: oklch(49.7% 0.192 302.4);
Tailwind
colors: {
  custom: {
    50: '#a575d0',
    500: '#793aba',
    950: '#000000',
  },
}
SCSS
$custom: #793aba;
$custom-light: #a575d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793aba",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 269.531,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.19199,
    "h": 302.4
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#793ABA
secondary
#A8C888
accent
#DC4C95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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