#793ABB#793ABB

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

Color values

HEX#793ABB
RGBrgb(121, 58, 187)
HSLhsl(269, 53%, 48%)
HSVhsv(269, 69%, 73%)
CMYKcmyk(35.3%, 69%, 0%, 26.7%)
CIE-LABlab(39.03, 51.85, -57.43)
CIE-LCHlch(39.03, 77.37, 312.07°)
OKLaboklab(49.73% 0.1028 -0.1635)
OKLCHoklch(49.73% 0.193 302.2)
XYZxyz(18.3657, 10.6789, 48.0977)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ABB #7CBB3A
analogous
#3A3CBB #793ABB #B93ABB
triadic
#793ABB #BB793A #3ABB79
tetradic
#793ABB #BB3A3C #7CBB3A #3ABBB9
square
#793ABB #BB3A3C #7CBB3A #3ABBB9
split-complementary
#793ABB #BBB93A #3CBB3A
monochromatic
#3D1D5E #5B2C8C #793ABB #9863CF #B792DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##793ABB#FFFFFF#000000##FFFFFF
##793ABB1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#6B5876
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793abb;
/* rgb */ color: rgb(121, 58, 187);
/* oklch */ color: oklch(49.7% 0.193 302.2);
Tailwind
colors: {
  custom: {
    50: '#a575d0',
    500: '#793abb',
    950: '#000000',
  },
}
SCSS
$custom: #793abb;
$custom-light: #a575d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793abb",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 269.302,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4973,
    "c": 0.19308,
    "h": 302.2
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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