#793CBE#793CBE

#793CBE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.194 H 301.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#793CBE
RGBrgb(121, 60, 190)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(36.3%, 68.4%, 0%, 25.5%)
CIE-LABlab(39.60, 51.61, -58.27)
CIE-LCHlch(39.60, 77.84, 311.53°)
OKLaboklab(50.21% 0.1002 -0.1659)
OKLCHoklch(50.21% 0.194 301.1)
XYZxyz(18.7930, 11.0143, 49.8411)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CBE #81BE3C
analogous
#3C40BE #793CBE #BA3CBE
triadic
#793CBE #BE793C #3CBE79
tetradic
#793CBE #BE3C40 #81BE3C #3CBEBA
square
#793CBE #BE3C40 #81BE3C #3CBEBA
split-complementary
#793CBE #BEBA3C #40BE3C
monochromatic
#3E1F61 #5B2D8F #793CBE #9868CF #B896DE

Accessibility & contrast

On white

6.56
#793CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#793CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CBE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CBE#FFFFFF#000000##FFFFFF
##793CBE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793cbe;
/* rgb */ color: rgb(121, 60, 190);
/* oklch */ color: oklch(50.2% 0.194 301.1);
Tailwind
colors: {
  custom: {
    50: '#a576d2',
    500: '#793cbe',
    950: '#000000',
  },
}
SCSS
$custom: #793cbe;
$custom-light: #a576d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793cbe",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 268.154,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.19384,
    "h": 301.1
  },
  "luminance": 0.11014
}

Semantic roles & 50–950 ramp

primary
#793CBE
secondary
#ADCA8C
accent
#DB4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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