#793ABC#793ABC

#793ABC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.194 H 301.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#793ABC
RGBrgb(121, 58, 188)
HSLhsl(269, 53%, 48%)
HSVhsv(269, 69%, 74%)
CMYKcmyk(35.6%, 69.1%, 0%, 26.3%)
CIE-LABlab(39.11, 52.09, -57.90)
CIE-LCHlch(39.11, 77.88, 311.98°)
OKLaboklab(49.81% 0.1026 -0.1648)
OKLCHoklch(49.81% 0.194 301.9)
XYZxyz(18.4731, 10.7218, 48.6635)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ABC #7DBC3A
analogous
#3A3CBC #793ABC #BA3ABC
triadic
#793ABC #BC793A #3ABC79
tetradic
#793ABC #BC3A3C #7DBC3A #3ABCBA
square
#793ABC #BC3A3C #7DBC3A #3ABCBA
split-complementary
#793ABC #BCBA3A #3CBC3A
monochromatic
#3D1D5E #5B2C8D #793ABC #9864CF #B793DE

Accessibility & contrast

On white

6.68
#793ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#793ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ABC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ABC#FFFFFF#000000##FFFFFF
##793ABC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#6B5877
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793abc;
/* rgb */ color: rgb(121, 58, 188);
/* oklch */ color: oklch(49.8% 0.194 301.9);
Tailwind
colors: {
  custom: {
    50: '#a575d1',
    500: '#793abc',
    950: '#000000',
  },
}
SCSS
$custom: #793abc;
$custom-light: #a575d1;
$custom-dark: #000000;
JSON
{
  "hex": "#793abc",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 269.077,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49806,
    "c": 0.19416,
    "h": 301.9
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#793ABC
secondary
#AAC989
accent
#DC4C96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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