#793BBA#793BBA

#793BBA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.191 H 302.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#793BBA
RGBrgb(121, 59, 186)
HSLhsl(269, 52%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(34.9%, 68.3%, 0%, 27.1%)
CIE-LABlab(39.14, 51.12, -56.68)
CIE-LCHlch(39.14, 76.33, 312.05°)
OKLaboklab(49.78% 0.1018 -0.1613)
OKLCHoklch(49.78% 0.191 302.3)
XYZxyz(18.3100, 10.7380, 47.5529)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BBA #7CBA3B
analogous
#3B3DBA #793BBA #B83BBA
triadic
#793BBA #BA793B #3BBA79
tetradic
#793BBA #BA3B3D #7CBA3B #3BBAB8
square
#793BBA #BA3B3D #7CBA3B #3BBAB8
split-complementary
#793BBA #BAB83B #3DBA3B
monochromatic
#3D1E5D #5B2C8C #793BBA #9864CE #B793DD

Accessibility & contrast

On white

6.67
#793BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#793BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BBA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BBA#FFFFFF#000000##FFFFFF
##793BBA1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793bba;
/* rgb */ color: rgb(121, 59, 186);
/* oklch */ color: oklch(49.8% 0.191 302.3);
Tailwind
colors: {
  custom: {
    50: '#a575d0',
    500: '#793bba',
    950: '#000000',
  },
}
SCSS
$custom: #793bba;
$custom-light: #a575d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793bba",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 269.291,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4978,
    "c": 0.19072,
    "h": 302.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#793BBA
secondary
#A9C889
accent
#DB4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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