#793BA2#793BA2

#793BA2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.164 H 309.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#793BA2
RGBrgb(121, 59, 162)
HSLhsl(276, 47%, 43%)
HSVhsv(276, 64%, 64%)
CMYKcmyk(25.3%, 63.6%, 0%, 36.5%)
CIE-LABlab(37.48, 45.37, -45.08)
CIE-LCHlch(37.48, 63.96, 315.18°)
OKLaboklab(48.07% 0.104 -0.1272)
OKLCHoklch(48.07% 0.164 309.3)
XYZxyz(15.9694, 9.8018, 35.2261)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BA2 #64A23B
analogous
#463BA2 #793BA2 #A23B97
triadic
#793BA2 #A2793B #3BA279
tetradic
#793BA2 #A2463B #64A23B #3B97A2
square
#793BA2 #A2463B #64A23B #3B97A2
split-complementary
#793BA2 #97A23B #3BA246
monochromatic
#361A48 #572B75 #793BA2 #9858C2 #B485D3

Accessibility & contrast

On white

7.09
#793BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#793BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793BA2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BA2#FFFFFF#000000##FFFFFF
##793BA21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#734F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #793ba2;
/* rgb */ color: rgb(121, 59, 162);
/* oklch */ color: oklch(48.1% 0.164 309.3);
Tailwind
colors: {
  custom: {
    50: '#a375be',
    500: '#793ba2',
    950: '#000000',
  },
}
SCSS
$custom: #793ba2;
$custom-light: #a375be;
$custom-dark: #000000;
JSON
{
  "hex": "#793ba2",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 276.117,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.16427,
    "h": 309.3
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#793BA2
secondary
#96BD7C
accent
#D65286
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #793BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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