#793EBF#793EBF

#793EBF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.192 H 300.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#793EBF
RGBrgb(121, 62, 191)
HSLhsl(267, 51%, 50%)
HSVhsv(267, 68%, 75%)
CMYKcmyk(36.6%, 67.5%, 0%, 25.1%)
CIE-LABlab(40.03, 50.88, -58.16)
CIE-LCHlch(40.03, 77.27, 311.18°)
OKLaboklab(50.54% 0.098 -0.1656)
OKLCHoklch(50.54% 0.192 300.6)
XYZxyz(19.0095, 11.2716, 50.4543)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EBF #84BF3E
analogous
#3E44BF #793EBF #BA3EBF
triadic
#793EBF #BF793E #3EBF79
tetradic
#793EBF #BF3E44 #84BF3E #3EBFBA
square
#793EBF #BF3E44 #84BF3E #3EBFBA
split-complementary
#793EBF #BFBA3E #44BF3E
monochromatic
#3E2063 #5C2F91 #793EBF #996BCF #B999DE

Accessibility & contrast

On white

6.45
#793EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#793EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EBF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EBF#FFFFFF#000000##FFFFFF
##793EBF1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793ebf;
/* rgb */ color: rgb(121, 62, 191);
/* oklch */ color: oklch(50.5% 0.192 300.6);
Tailwind
colors: {
  custom: {
    50: '#a577d3',
    500: '#793ebf',
    950: '#000000',
  },
}
SCSS
$custom: #793ebf;
$custom-light: #a577d3;
$custom-dark: #000000;
JSON
{
  "hex": "#793ebf",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 267.442,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.19241,
    "h": 300.6
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#793EBF
secondary
#AFCA8F
accent
#DA4D9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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