#793AC8#793AC8

#793AC8 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.207 H 299.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#793AC8
RGBrgb(121, 58, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 71%, 78%)
CMYKcmyk(39.5%, 71%, 0%, 21.6%)
CIE-LABlab(40.02, 55.05, -63.43)
CIE-LCHlch(40.02, 83.99, 310.96°)
OKLaboklab(50.74% 0.1006 -0.1811)
OKLCHoklch(50.74% 0.207 299.1)
XYZxyz(19.8209, 11.2609, 55.7617)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AC8 #89C83A
analogous
#3A42C8 #793AC8 #C03AC8
triadic
#793AC8 #C8793A #3AC879
tetradic
#793AC8 #C83A42 #89C83A #3AC8C0
square
#793AC8 #C83A42 #89C83A #3AC8C0
split-complementary
#793AC8 #C8C03A #42C83A
monochromatic
#3F1E6A #5C2B9A #793AC8 #9A6AD5 #BA9AE3

Accessibility & contrast

On white

6.46
#793AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#793AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793AC8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AC8#FFFFFF#000000##FFFFFF
##793AC81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#665D7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ac8;
/* rgb */ color: rgb(121, 58, 200);
/* oklch */ color: oklch(50.7% 0.207 299.1);
Tailwind
colors: {
  custom: {
    50: '#a675da',
    500: '#793ac8',
    950: '#000000',
  },
}
SCSS
$custom: #793ac8;
$custom-light: #a675da;
$custom-dark: #000000;
JSON
{
  "hex": "#793ac8",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 266.62,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.20717,
    "h": 299.1
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#793AC8
secondary
#B2CE8F
accent
#E0489C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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