#793DBF#793DBF

#793DBF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.194 H 300.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#793DBF
RGBrgb(121, 61, 191)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(36.6%, 68.1%, 0%, 25.1%)
CIE-LABlab(39.86, 51.37, -58.45)
CIE-LCHlch(39.86, 77.81, 311.31°)
OKLaboklab(50.41% 0.099 -0.1665)
OKLCHoklch(50.41% 0.194 300.7)
XYZxyz(18.9556, 11.1639, 50.4363)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DBF #83BF3D
analogous
#3D42BF #793DBF #BA3DBF
triadic
#793DBF #BF793D #3DBF79
tetradic
#793DBF #BF3D42 #83BF3D #3DBFBA
square
#793DBF #BF3D42 #83BF3D #3DBFBA
split-complementary
#793DBF #BFBA3D #42BF3D
monochromatic
#3E1F62 #5C2E91 #793DBF #996ACF #B998DE

Accessibility & contrast

On white

6.50
#793DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#793DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DBF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DBF#FFFFFF#000000##FFFFFF
##793DBF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#6A5B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793dbf;
/* rgb */ color: rgb(121, 61, 191);
/* oklch */ color: oklch(50.4% 0.194 300.7);
Tailwind
colors: {
  custom: {
    50: '#a577d3',
    500: '#793dbf',
    950: '#000000',
  },
}
SCSS
$custom: #793dbf;
$custom-light: #a577d3;
$custom-dark: #000000;
JSON
{
  "hex": "#793dbf",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 267.692,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.19369,
    "h": 300.7
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#793DBF
secondary
#AECA8E
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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