#793BAE#793BAE

#793BAE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.178 H 305.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#793BAE
RGBrgb(121, 59, 174)
HSLhsl(272, 49%, 46%)
HSVhsv(272, 66%, 68%)
CMYKcmyk(30.5%, 66.1%, 0%, 31.8%)
CIE-LABlab(38.29, 48.20, -50.96)
CIE-LCHlch(38.29, 70.15, 313.41°)
OKLaboklab(48.9% 0.1032 -0.1444)
OKLCHoklch(48.9% 0.178 305.5)
XYZxyz(17.0874, 10.2490, 41.1143)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BAE #70AE3B
analogous
#403BAE #793BAE #AE3BA9
triadic
#793BAE #AE793B #3BAE79
tetradic
#793BAE #AE403B #70AE3B #3BA9AE
square
#793BAE #AE403B #70AE3B #3BA9AE
split-complementary
#793BAE #A9AE3B #3BAE40
monochromatic
#391C53 #592C80 #793BAE #975EC8 #B58CD8

Accessibility & contrast

On white

6.89
#793BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#793BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BAE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BAE#FFFFFF#000000##FFFFFF
##793BAE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#70546F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793bae;
/* rgb */ color: rgb(121, 59, 174);
/* oklch */ color: oklch(48.9% 0.178 305.5);
Tailwind
colors: {
  custom: {
    50: '#a475c7',
    500: '#793bae',
    950: '#000000',
  },
}
SCSS
$custom: #793bae;
$custom-light: #a475c7;
$custom-dark: #000000;
JSON
{
  "hex": "#793bae",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 272.348,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.17752,
    "h": 305.5
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#793BAE
secondary
#A0C282
accent
#D94F8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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