#793EA1#793EA1

#793EA1 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.159 H 309.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#793EA1
RGBrgb(121, 62, 161)
HSLhsl(276, 44%, 44%)
HSVhsv(276, 61%, 63%)
CMYKcmyk(24.8%, 61.5%, 0%, 36.9%)
CIE-LABlab(37.99, 43.58, -43.67)
CIE-LCHlch(37.99, 61.69, 314.94°)
OKLaboklab(48.42% 0.1002 -0.1231)
OKLCHoklch(48.42% 0.159 309.2)
XYZxyz(16.0395, 10.0837, 34.8127)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EA1 #66A13E
analogous
#473EA1 #793EA1 #A13E97
triadic
#793EA1 #A1793E #3EA179
tetradic
#793EA1 #A1473E #66A13E #3E97A1
square
#793EA1 #A1473E #66A13E #3E97A1
split-complementary
#793EA1 #97A13E #3EA147
monochromatic
#371C49 #582D75 #793EA1 #985CC0 #B488D1

Accessibility & contrast

On white

6.96
#793EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#793EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EA1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EA1#FFFFFF#000000##FFFFFF
##793EA11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#315A9F
Tritanopia (blue-blind)
#735169
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793ea1;
/* rgb */ color: rgb(121, 62, 161);
/* oklch */ color: oklch(48.4% 0.159 309.2);
Tailwind
colors: {
  custom: {
    50: '#a376bd',
    500: '#793ea1',
    950: '#000000',
  },
}
SCSS
$custom: #793ea1;
$custom-light: #a376bd;
$custom-dark: #000000;
JSON
{
  "hex": "#793ea1",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 275.758,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.15869,
    "h": 309.2
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#793EA1
secondary
#98BC7F
accent
#D45488
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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