#793EBA#793EBA

#793EBA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.187 H 301.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#793EBA
RGBrgb(121, 62, 186)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(34.9%, 66.7%, 0%, 27.1%)
CIE-LABlab(39.67, 49.63, -55.81)
CIE-LCHlch(39.67, 74.68, 311.65°)
OKLaboklab(50.17% 0.0986 -0.1587)
OKLCHoklch(50.17% 0.187 301.8)
XYZxyz(18.4686, 11.0553, 47.6057)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EBA #7FBA3E
analogous
#3E41BA #793EBA #B73EBA
triadic
#793EBA #BA793E #3EBA79
tetradic
#793EBA #BA3E41 #7FBA3E #3EBAB7
square
#793EBA #BA3E41 #7FBA3E #3EBAB7
split-complementary
#793EBA #BAB73E #41BA3E
monochromatic
#3D1F5E #5B2F8C #793EBA #9868CD #B896DC

Accessibility & contrast

On white

6.54
#793EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#793EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EBA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EBA#FFFFFF#000000##FFFFFF
##793EBA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#6C5A77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793eba;
/* rgb */ color: rgb(121, 62, 186);
/* oklch */ color: oklch(50.2% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#a577d0',
    500: '#793eba',
    950: '#000000',
  },
}
SCSS
$custom: #793eba;
$custom-light: #a577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793eba",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 268.548,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.18682,
    "h": 301.8
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#793EBA
secondary
#ABC88C
accent
#DA4E97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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