#793CAF#793CAF

#793CAF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 305.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#793CAF
RGBrgb(121, 60, 175)
HSLhsl(272, 49%, 46%)
HSVhsv(272, 66%, 69%)
CMYKcmyk(30.9%, 65.7%, 0%, 31.4%)
CIE-LABlab(38.54, 47.94, -51.15)
CIE-LCHlch(38.54, 70.11, 313.15°)
OKLaboklab(49.1% 0.1019 -0.145)
OKLCHoklch(49.1% 0.177 305.1)
XYZxyz(17.2372, 10.3919, 41.6469)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CAF #72AF3C
analogous
#3F3CAF #793CAF #AF3CAB
triadic
#793CAF #AF793C #3CAF79
tetradic
#793CAF #AF3F3C #72AF3C #3CABAF
square
#793CAF #AF3F3C #72AF3C #3CABAF
split-complementary
#793CAF #ABAF3C #3CAF3F
monochromatic
#3A1D54 #592C81 #793CAF #9760C8 #B58DD8

Accessibility & contrast

On white

6.82
#793CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#793CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CAF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CAF#FFFFFF#000000##FFFFFF
##793CAF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#6F5570
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793caf;
/* rgb */ color: rgb(121, 60, 175);
/* oklch */ color: oklch(49.1% 0.177 305.1);
Tailwind
colors: {
  custom: {
    50: '#a476c8',
    500: '#793caf',
    950: '#000000',
  },
}
SCSS
$custom: #793caf;
$custom-light: #a476c8;
$custom-dark: #000000;
JSON
{
  "hex": "#793caf",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 271.826,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.17725,
    "h": 305.1
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#793CAF
secondary
#A1C384
accent
#D84F90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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