#793EB3#793EB3

#793EB3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.179 H 303.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#793EB3
RGBrgb(121, 62, 179)
HSLhsl(270, 49%, 47%)
HSVhsv(270, 65%, 70%)
CMYKcmyk(32.4%, 65.4%, 0%, 29.8%)
CIE-LABlab(39.18, 47.90, -52.48)
CIE-LCHlch(39.18, 71.06, 312.39°)
OKLaboklab(49.66% 0.0993 -0.1489)
OKLCHoklch(49.66% 0.179 303.7)
XYZxyz(17.7426, 10.7649, 43.7822)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EB3 #78B33E
analogous
#3E3EB3 #793EB3 #B33EB3
triadic
#793EB3 #B3793E #3EB379
tetradic
#793EB3 #B33E3E #78B33E #3EB3B3
square
#793EB3 #B33E3E #78B33E #3EB3B3
split-complementary
#793EB3 #B3B33E #3EB33E
monochromatic
#3C1F58 #5A2E86 #793EB3 #9865CA #B692D9

Accessibility & contrast

On white

6.66
#793EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#793EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EB3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EB3#FFFFFF#000000##FFFFFF
##793EB31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#6E5773
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793eb3;
/* rgb */ color: rgb(121, 62, 179);
/* oklch */ color: oklch(49.7% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#a477ca',
    500: '#793eb3',
    950: '#000000',
  },
}
SCSS
$custom: #793eb3;
$custom-light: #a477ca;
$custom-dark: #000000;
JSON
{
  "hex": "#793eb3",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 270.256,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.17897,
    "h": 303.7
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#793EB3
secondary
#A6C588
accent
#D85093
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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