#793EA3#793EA3

#793EA3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.161 H 308.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#793EA3
RGBrgb(121, 62, 163)
HSLhsl(275, 45%, 44%)
HSVhsv(275, 62%, 64%)
CMYKcmyk(25.8%, 62%, 0%, 36.1%)
CIE-LABlab(38.12, 44.05, -44.67)
CIE-LCHlch(38.12, 62.73, 314.60°)
OKLaboklab(48.55% 0.1002 -0.126)
OKLCHoklch(48.55% 0.161 308.5)
XYZxyz(16.2173, 10.1548, 35.7490)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EA3 #68A33E
analogous
#473EA3 #793EA3 #A33E9B
triadic
#793EA3 #A3793E #3EA379
tetradic
#793EA3 #A3473E #68A33E #3E9BA3
square
#793EA3 #A3473E #68A33E #3E9BA3
split-complementary
#793EA3 #9BA33E #3EA347
monochromatic
#371C4A #582D77 #793EA3 #985DC1 #B489D2

Accessibility & contrast

On white

6.93
#793EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#793EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EA3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EA3#FFFFFF#000000##FFFFFF
##793EA31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A6
Deuteranopia (green-blind)
#2F5AA1
Tritanopia (blue-blind)
#73526A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793ea3;
/* rgb */ color: rgb(121, 62, 163);
/* oklch */ color: oklch(48.5% 0.161 308.5);
Tailwind
colors: {
  custom: {
    50: '#a377bf',
    500: '#793ea3',
    950: '#000000',
  },
}
SCSS
$custom: #793ea3;
$custom-light: #a377bf;
$custom-dark: #000000;
JSON
{
  "hex": "#793ea3",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 275.05,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.16094,
    "h": 308.5
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#793EA3
secondary
#99BD80
accent
#D55389
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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