#793CB6#793CB6

#793CB6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.185 H 303.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#793CB6
RGBrgb(121, 60, 182)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 67%, 71%)
CMYKcmyk(33.5%, 67%, 0%, 28.6%)
CIE-LABlab(39.03, 49.65, -54.50)
CIE-LCHlch(39.03, 73.72, 312.33°)
OKLaboklab(49.61% 0.1012 -0.1549)
OKLCHoklch(49.61% 0.185 303.2)
XYZxyz(17.9426, 10.6741, 45.3619)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB6 #79B63C
analogous
#3C3CB6 #793CB6 #B63CB6
triadic
#793CB6 #B6793C #3CB679
tetradic
#793CB6 #B63C3C #79B63C #3CB6B6
square
#793CB6 #B63C3C #79B63C #3CB6B6
split-complementary
#793CB6 #B6B63C #3CB63C
monochromatic
#3C1E5A #5A2D88 #793CB6 #9863CC #B691DB

Accessibility & contrast

On white

6.70
#793CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#793CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB6#FFFFFF#000000##FFFFFF
##793CB61.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#085CB3
Tritanopia (blue-blind)
#6D5774
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793cb6;
/* rgb */ color: rgb(121, 60, 182);
/* oklch */ color: oklch(49.6% 0.185 303.2);
Tailwind
colors: {
  custom: {
    50: '#a476cd',
    500: '#793cb6',
    950: '#000000',
  },
}
SCSS
$custom: #793cb6;
$custom-light: #a476cd;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb6",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 270,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.18501,
    "h": 303.2
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#793CB6
secondary
#A7C688
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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