#793BAD#793BAD

#793BAD is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.176 H 305.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#793BAD
RGBrgb(121, 59, 173)
HSLhsl(273, 49%, 45%)
HSVhsv(273, 66%, 68%)
CMYKcmyk(30.1%, 65.9%, 0%, 32.2%)
CIE-LABlab(38.22, 47.97, -50.48)
CIE-LCHlch(38.22, 69.63, 313.54°)
OKLaboklab(48.83% 0.1033 -0.143)
OKLCHoklch(48.83% 0.176 305.8)
XYZxyz(16.9903, 10.2101, 40.6027)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BAD #6FAD3B
analogous
#403BAD #793BAD #AD3BA8
triadic
#793BAD #AD793B #3BAD79
tetradic
#793BAD #AD403B #6FAD3B #3BA8AD
square
#793BAD #AD403B #6FAD3B #3BA8AD
split-complementary
#793BAD #A8AD3B #3BAD40
monochromatic
#391C52 #592B7F #793BAD #975DC8 #B58BD7

Accessibility & contrast

On white

6.90
#793BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#793BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BAD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BAD#FFFFFF#000000##FFFFFF
##793BAD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#1D5AAA
Tritanopia (blue-blind)
#70536F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793bad;
/* rgb */ color: rgb(121, 59, 173);
/* oklch */ color: oklch(48.8% 0.176 305.8);
Tailwind
colors: {
  custom: {
    50: '#a475c6',
    500: '#793bad',
    950: '#000000',
  },
}
SCSS
$custom: #793bad;
$custom-light: #a475c6;
$custom-dark: #000000;
JSON
{
  "hex": "#793bad",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 272.632,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.17642,
    "h": 305.8
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#793BAD
secondary
#9FC282
accent
#D94F8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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