#793CB5#793CB5

#793CB5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 303.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#793CB5
RGBrgb(121, 60, 181)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 67%, 71%)
CMYKcmyk(33.1%, 66.9%, 0%, 29%)
CIE-LABlab(38.96, 49.40, -54.03)
CIE-LCHlch(38.96, 73.21, 312.44°)
OKLaboklab(49.54% 0.1013 -0.1535)
OKLCHoklch(49.54% 0.184 303.4)
XYZxyz(17.8396, 10.6329, 44.8196)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB5 #78B53C
analogous
#3D3CB5 #793CB5 #B53CB4
triadic
#793CB5 #B5793C #3CB579
tetradic
#793CB5 #B53D3C #78B53C #3CB4B5
square
#793CB5 #B53D3C #78B53C #3CB4B5
split-complementary
#793CB5 #B4B53C #3CB53D
monochromatic
#3C1E59 #5A2D87 #793CB5 #9863CB #B691DB

Accessibility & contrast

On white

6.72
#793CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#793CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB5
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB5#FFFFFF#000000##FFFFFF
##793CB51.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0C5CB2
Tritanopia (blue-blind)
#6D5773
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793cb5;
/* rgb */ color: rgb(121, 60, 181);
/* oklch */ color: oklch(49.5% 0.184 303.4);
Tailwind
colors: {
  custom: {
    50: '#a476cc',
    500: '#793cb5',
    950: '#000000',
  },
}
SCSS
$custom: #793cb5;
$custom-light: #a476cc;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb5",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 270.248,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.1839,
    "h": 303.4
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#793CB5
secondary
#A6C687
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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