#793ADC#793ADC

#793ADC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.229 H 294.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#793ADC
RGBrgb(121, 58, 220)
HSLhsl(263, 70%, 55%)
HSVhsv(263, 74%, 86%)
CMYKcmyk(45%, 73.6%, 0%, 13.7%)
CIE-LABlab(41.62, 60.07, -72.34)
CIE-LCHlch(41.62, 94.03, 309.70°)
OKLaboklab(52.37% 0.0964 -0.2073)
OKLCHoklch(52.37% 0.229 294.9)
XYZxyz(22.3130, 12.2578, 68.8866)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ADC #9DDC3A
analogous
#3A4CDC #793ADC #CA3ADC
triadic
#793ADC #DC793A #3ADC79
tetradic
#793ADC #DC3A4C #9DDC3A #3ADCCA
square
#793ADC #DC3A4C #9DDC3A #3ADCCA
split-complementary
#793ADC #DCCA3A #4CDC3A
monochromatic
#421784 #5C21B8 #793ADC #9C6EE5 #C0A2EE

Accessibility & contrast

On white

6.08
#793ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#793ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ADC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ADC#FFFFFF#000000##FFFFFF
##793ADC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#5D6588
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #793adc;
/* rgb */ color: rgb(121, 58, 220);
/* oklch */ color: oklch(52.4% 0.229 294.9);
Tailwind
colors: {
  custom: {
    50: '#a876e8',
    500: '#793adc',
    950: '#000000',
  },
}
SCSS
$custom: #793adc;
$custom-light: #a876e8;
$custom-dark: #000000;
JSON
{
  "hex": "#793adc",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 220
  },
  "hsl": {
    "h": 263.333,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.22858,
    "h": 294.9
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#793ADC
secondary
#C1DB97
accent
#ED3BA8
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #793ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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