#793AC5#793AC5

#793AC5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.204 H 299.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#793AC5
RGBrgb(121, 58, 197)
HSLhsl(267, 55%, 50%)
HSVhsv(267, 71%, 77%)
CMYKcmyk(38.6%, 70.6%, 0%, 22.7%)
CIE-LABlab(39.79, 54.31, -62.06)
CIE-LCHlch(39.79, 82.47, 311.19°)
OKLaboklab(50.5% 0.1011 -0.1771)
OKLCHoklch(50.5% 0.204 299.7)
XYZxyz(19.4737, 11.1221, 53.9333)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AC5 #86C53A
analogous
#3A41C5 #793AC5 #BE3AC5
triadic
#793AC5 #C5793A #3AC579
tetradic
#793AC5 #C53A41 #86C53A #3AC5BE
square
#793AC5 #C53A41 #86C53A #3AC5BE
split-complementary
#793AC5 #C5BE3A #41C53A
monochromatic
#3F1E66 #5C2C96 #793AC5 #9969D3 #B999E1

Accessibility & contrast

On white

6.51
#793AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#793AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793AC5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AC5#FFFFFF#000000##FFFFFF
##793AC51.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#675C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ac5;
/* rgb */ color: rgb(121, 58, 197);
/* oklch */ color: oklch(50.5% 0.204 299.7);
Tailwind
colors: {
  custom: {
    50: '#a675d7',
    500: '#793ac5',
    950: '#000000',
  },
}
SCSS
$custom: #793ac5;
$custom-light: #a675d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793ac5",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 267.194,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.20393,
    "h": 299.7
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#793AC5
secondary
#B0CD8E
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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