#793BBB#793BBB

#793BBB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.192 H 302.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#793BBB
RGBrgb(121, 59, 187)
HSLhsl(269, 52%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(35.3%, 68.4%, 0%, 26.7%)
CIE-LABlab(39.21, 51.36, -57.15)
CIE-LCHlch(39.21, 76.84, 311.95°)
OKLaboklab(49.86% 0.1017 -0.1626)
OKLCHoklch(49.86% 0.192 302)
XYZxyz(18.4166, 10.7807, 48.1147)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BBB #7DBB3B
analogous
#3B3DBB #793BBB #B93BBB
triadic
#793BBB #BB793B #3BBB79
tetradic
#793BBB #BB3B3D #7DBB3B #3BBBB9
square
#793BBB #BB3B3D #7DBB3B #3BBBB9
split-complementary
#793BBB #BBB93B #3DBB3B
monochromatic
#3D1E5E #5B2C8C #793BBB #9865CE #B793DD

Accessibility & contrast

On white

6.65
#793BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#793BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BBB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BBB#FFFFFF#000000##FFFFFF
##793BBB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793bbb;
/* rgb */ color: rgb(121, 59, 187);
/* oklch */ color: oklch(49.9% 0.192 302.0);
Tailwind
colors: {
  custom: {
    50: '#a575d0',
    500: '#793bbb',
    950: '#000000',
  },
}
SCSS
$custom: #793bbb;
$custom-light: #a575d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793bbb",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 269.063,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.19181,
    "h": 302
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#793BBB
secondary
#AAC88A
accent
#DB4C96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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