#793CA2#793CA2

#793CA2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.163 H 309.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#793CA2
RGBrgb(121, 60, 162)
HSLhsl(276, 46%, 44%)
HSVhsv(276, 63%, 64%)
CMYKcmyk(25.3%, 63%, 0%, 36.5%)
CIE-LABlab(37.67, 44.85, -44.78)
CIE-LCHlch(37.67, 63.38, 315.05°)
OKLaboklab(48.2% 0.1027 -0.1263)
OKLCHoklch(48.2% 0.163 309.1)
XYZxyz(16.0213, 9.9056, 35.2434)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CA2 #65A23C
analogous
#463CA2 #793CA2 #A23C98
triadic
#793CA2 #A2793C #3CA279
tetradic
#793CA2 #A2463C #65A23C #3C98A2
square
#793CA2 #A2463C #65A23C #3C98A2
split-complementary
#793CA2 #98A23C #3CA246
monochromatic
#361B49 #582B75 #793CA2 #9859C2 #B486D2

Accessibility & contrast

On white

7.04
#793CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#793CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793CA2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CA2#FFFFFF#000000##FFFFFF
##793CA21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#735069
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793ca2;
/* rgb */ color: rgb(121, 60, 162);
/* oklch */ color: oklch(48.2% 0.163 309.1);
Tailwind
colors: {
  custom: {
    50: '#a375be',
    500: '#793ca2',
    950: '#000000',
  },
}
SCSS
$custom: #793ca2;
$custom-light: #a375be;
$custom-dark: #000000;
JSON
{
  "hex": "#793ca2",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 275.882,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.16281,
    "h": 309.1
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#793CA2
secondary
#97BC7D
accent
#D65287
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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