#793FA3#793FA3

#793FA3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.159 H 308.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#793FA3
RGBrgb(121, 63, 163)
HSLhsl(275, 44%, 44%)
HSVhsv(275, 61%, 64%)
CMYKcmyk(25.8%, 61.3%, 0%, 36.1%)
CIE-LABlab(38.31, 43.53, -44.35)
CIE-LCHlch(38.31, 62.14, 314.46°)
OKLaboklab(48.69% 0.0989 -0.1251)
OKLCHoklch(48.69% 0.159 308.3)
XYZxyz(16.2722, 10.2645, 35.7673)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FA3 #69A33F
analogous
#473FA3 #793FA3 #A33F9B
triadic
#793FA3 #A3793F #3FA379
tetradic
#793FA3 #A3473F #69A33F #3F9BA3
square
#793FA3 #A3473F #69A33F #3F9BA3
split-complementary
#793FA3 #9BA33F #3FA347
monochromatic
#371D4B #582E77 #793FA3 #975EC1 #B48AD2

Accessibility & contrast

On white

6.88
#793FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#793FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FA3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FA3#FFFFFF#000000##FFFFFF
##793FA31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A6
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#73526B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793fa3;
/* rgb */ color: rgb(121, 63, 163);
/* oklch */ color: oklch(48.7% 0.159 308.3);
Tailwind
colors: {
  custom: {
    50: '#a377bf',
    500: '#793fa3',
    950: '#000000',
  },
}
SCSS
$custom: #793fa3;
$custom-light: #a377bf;
$custom-dark: #000000;
JSON
{
  "hex": "#793fa3",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 274.8,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48689,
    "c": 0.15945,
    "h": 308.3
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#793FA3
secondary
#9ABD81
accent
#D4548A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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