#793DA3#793DA3

#793DA3 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.162 H 308.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#793DA3
RGBrgb(121, 61, 163)
HSLhsl(275, 46%, 44%)
HSVhsv(275, 63%, 64%)
CMYKcmyk(25.8%, 62.6%, 0%, 36.1%)
CIE-LABlab(37.93, 44.57, -44.97)
CIE-LCHlch(37.93, 63.32, 314.74°)
OKLaboklab(48.41% 0.1014 -0.1269)
OKLCHoklch(48.41% 0.162 308.6)
XYZxyz(16.1634, 10.0470, 35.7310)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DA3 #67A33D
analogous
#463DA3 #793DA3 #A33D9A
triadic
#793DA3 #A3793D #3DA379
tetradic
#793DA3 #A3463D #67A33D #3D9AA3
square
#793DA3 #A3463D #67A33D #3D9AA3
split-complementary
#793DA3 #9AA33D #3DA346
monochromatic
#371C4A #582C76 #793DA3 #985BC2 #B488D2

Accessibility & contrast

On white

6.98
#793DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#793DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DA3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DA3#FFFFFF#000000##FFFFFF
##793DA31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A6
Deuteranopia (green-blind)
#2E5AA1
Tritanopia (blue-blind)
#73516A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793da3;
/* rgb */ color: rgb(121, 61, 163);
/* oklch */ color: oklch(48.4% 0.162 308.6);
Tailwind
colors: {
  custom: {
    50: '#a376bf',
    500: '#793da3',
    950: '#000000',
  },
}
SCSS
$custom: #793da3;
$custom-light: #a376bf;
$custom-dark: #000000;
JSON
{
  "hex": "#793da3",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 275.294,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48408,
    "c": 0.16244,
    "h": 308.6
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#793DA3
secondary
#98BD7F
accent
#D55388
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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