#793BB8#793BB8

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

Color values

HEX#793BB8
RGBrgb(121, 59, 184)
HSLhsl(270, 51%, 48%)
HSVhsv(270, 68%, 72%)
CMYKcmyk(34.2%, 67.9%, 0%, 27.8%)
CIE-LABlab(38.99, 50.63, -55.74)
CIE-LCHlch(38.99, 75.30, 312.25°)
OKLaboklab(49.63% 0.1021 -0.1585)
OKLCHoklch(49.63% 0.189 302.8)
XYZxyz(18.0988, 10.6536, 46.4409)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BB8 #7AB83B
analogous
#3B3CB8 #793BB8 #B73BB8
triadic
#793BB8 #B8793B #3BB879
tetradic
#793BB8 #B83B3C #7AB83B #3BB8B7
square
#793BB8 #B83B3C #7AB83B #3BB8B7
split-complementary
#793BB8 #B8B73B #3CB83B
monochromatic
#3C1D5B #5B2C8A #793BB8 #9863CD #B692DC

Accessibility & contrast

On white

6.71
#793BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793BB8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BB8#FFFFFF#000000##FFFFFF
##793BB81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#6C5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793bb8;
/* rgb */ color: rgb(121, 59, 184);
/* oklch */ color: oklch(49.6% 0.189 302.8);
Tailwind
colors: {
  custom: {
    50: '#a575ce',
    500: '#793bb8',
    950: '#000000',
  },
}
SCSS
$custom: #793bb8;
$custom-light: #a575ce;
$custom-dark: #000000;
JSON
{
  "hex": "#793bb8",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 269.76,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.18852,
    "h": 302.8
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#793BB8
secondary
#A8C788
accent
#DB4D94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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