#793ABE#793ABE

#793ABE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.196 H 301.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#793ABE
RGBrgb(121, 58, 190)
HSLhsl(269, 53%, 49%)
HSVhsv(269, 69%, 75%)
CMYKcmyk(36.3%, 69.5%, 0%, 25.5%)
CIE-LABlab(39.26, 52.58, -58.83)
CIE-LCHlch(39.26, 78.91, 311.79°)
OKLaboklab(49.96% 0.1023 -0.1676)
OKLCHoklch(49.96% 0.196 301.4)
XYZxyz(18.6902, 10.8087, 49.8068)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ABE #7FBE3A
analogous
#3A3DBE #793ABE #BB3ABE
triadic
#793ABE #BE793A #3ABE79
tetradic
#793ABE #BE3A3D #7FBE3A #3ABEBB
square
#793ABE #BE3A3D #7FBE3A #3ABEBB
split-complementary
#793ABE #BEBB3A #3DBE3A
monochromatic
#3D1D60 #5B2C8F #793ABE #9865D0 #B894DE

Accessibility & contrast

On white

6.64
#793ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#793ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ABE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ABE#FFFFFF#000000##FFFFFF
##793ABE1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#6A5978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793abe;
/* rgb */ color: rgb(121, 58, 190);
/* oklch */ color: oklch(50.0% 0.196 301.4);
Tailwind
colors: {
  custom: {
    50: '#a575d2',
    500: '#793abe',
    950: '#000000',
  },
}
SCSS
$custom: #793abe;
$custom-light: #a575d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793abe",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 268.636,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.19634,
    "h": 301.4
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#793ABE
secondary
#ABCA8A
accent
#DD4B97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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