#793BBE#793BBE

#793BBE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.195 H 301.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#793BBE
RGBrgb(121, 59, 190)
HSLhsl(268, 53%, 49%)
HSVhsv(268, 69%, 75%)
CMYKcmyk(36.3%, 68.9%, 0%, 25.5%)
CIE-LABlab(39.43, 52.10, -58.55)
CIE-LCHlch(39.43, 78.38, 311.66°)
OKLaboklab(50.08% 0.1013 -0.1668)
OKLCHoklch(50.08% 0.195 301.3)
XYZxyz(18.7411, 10.9105, 49.8238)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BBE #80BE3B
analogous
#3B3FBE #793BBE #BB3BBE
triadic
#793BBE #BE793B #3BBE79
tetradic
#793BBE #BE3B3F #80BE3B #3BBEBB
square
#793BBE #BE3B3F #80BE3B #3BBEBB
split-complementary
#793BBE #BEBB3B #3FBE3B
monochromatic
#3E1E61 #5B2C8F #793BBE #9867D0 #B895DE

Accessibility & contrast

On white

6.60
#793BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#793BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BBE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BBE#FFFFFF#000000##FFFFFF
##793BBE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793bbe;
/* rgb */ color: rgb(121, 59, 190);
/* oklch */ color: oklch(50.1% 0.195 301.3);
Tailwind
colors: {
  custom: {
    50: '#a576d2',
    500: '#793bbe',
    950: '#000000',
  },
}
SCSS
$custom: #793bbe;
$custom-light: #a576d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793bbe",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 268.397,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.1951,
    "h": 301.3
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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