#793BB5#793BB5

#793BB5 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.185 H 303.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#793BB5
RGBrgb(121, 59, 181)
HSLhsl(270, 51%, 47%)
HSVhsv(270, 67%, 71%)
CMYKcmyk(33.1%, 67.4%, 0%, 29%)
CIE-LABlab(38.78, 49.90, -54.32)
CIE-LCHlch(38.78, 73.76, 312.57°)
OKLaboklab(49.41% 0.1025 -0.1543)
OKLCHoklch(49.41% 0.185 303.6)
XYZxyz(17.7877, 10.5291, 44.8023)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BB5 #77B53B
analogous
#3C3BB5 #793BB5 #B53BB4
triadic
#793BB5 #B5793B #3BB579
tetradic
#793BB5 #B53C3B #77B53B #3BB4B5
square
#793BB5 #B53C3B #77B53B #3BB4B5
split-complementary
#793BB5 #B4B53B #3BB53C
monochromatic
#3B1D59 #5A2C87 #793BB5 #9762CC #B690DB

Accessibility & contrast

On white

6.76
#793BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#793BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BB5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BB5#FFFFFF#000000##FFFFFF
##793BB51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#085BB2
Tritanopia (blue-blind)
#6D5673
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793bb5;
/* rgb */ color: rgb(121, 59, 181);
/* oklch */ color: oklch(49.4% 0.185 303.6);
Tailwind
colors: {
  custom: {
    50: '#a475cc',
    500: '#793bb5',
    950: '#000000',
  },
}
SCSS
$custom: #793bb5;
$custom-light: #a475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#793bb5",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 270.492,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.18523,
    "h": 303.6
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#793BB5
secondary
#A5C686
accent
#DA4D93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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