#793BBF#793BBF

#793BBF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.196 H 301.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#793BBF
RGBrgb(121, 59, 191)
HSLhsl(268, 53%, 49%)
HSVhsv(268, 69%, 75%)
CMYKcmyk(36.6%, 69.1%, 0%, 25.1%)
CIE-LABlab(39.50, 52.35, -59.02)
CIE-LCHlch(39.50, 78.89, 311.57°)
OKLaboklab(50.16% 0.1011 -0.1681)
OKLCHoklch(50.16% 0.196 301)
XYZxyz(18.8508, 10.9543, 50.4014)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BBF #81BF3B
analogous
#3B3FBF #793BBF #BB3BBF
triadic
#793BBF #BF793B #3BBF79
tetradic
#793BBF #BF3B3F #81BF3B #3BBFBB
square
#793BBF #BF3B3F #81BF3B #3BBFBB
split-complementary
#793BBF #BFBB3B #3FBF3B
monochromatic
#3E1E61 #5B2D90 #793BBF #9867D0 #B896DF

Accessibility & contrast

On white

6.58
#793BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#793BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BBF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BBF#FFFFFF#000000##FFFFFF
##793BBF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#6A5A78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793bbf;
/* rgb */ color: rgb(121, 59, 191);
/* oklch */ color: oklch(50.2% 0.196 301.0);
Tailwind
colors: {
  custom: {
    50: '#a576d3',
    500: '#793bbf',
    950: '#000000',
  },
}
SCSS
$custom: #793bbf;
$custom-light: #a576d3;
$custom-dark: #000000;
JSON
{
  "hex": "#793bbf",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 268.182,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.19619,
    "h": 301
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#793BBF
secondary
#ADCA8C
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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