#793FA4#793FA4

#793FA4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.161 H 308.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#793FA4
RGBrgb(121, 63, 164)
HSLhsl(274, 44%, 45%)
HSVhsv(274, 62%, 64%)
CMYKcmyk(26.2%, 61.6%, 0%, 35.7%)
CIE-LABlab(38.38, 43.76, -44.85)
CIE-LCHlch(38.38, 62.66, 314.30°)
OKLaboklab(48.76% 0.0989 -0.1265)
OKLCHoklch(48.76% 0.161 308)
XYZxyz(16.3621, 10.3005, 36.2410)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FA4 #6AA43F
analogous
#463FA4 #793FA4 #A43F9D
triadic
#793FA4 #A4793F #3FA479
tetradic
#793FA4 #A4463F #6AA43F #3F9DA4
square
#793FA4 #A4463F #6AA43F #3F9DA4
split-complementary
#793FA4 #9DA43F #3FA446
monochromatic
#381D4C #582E78 #793FA4 #975FC1 #B48BD2

Accessibility & contrast

On white

6.86
#793FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#793FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FA4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FA4#FFFFFF#000000##FFFFFF
##793FA41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1058A7
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#73536B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793fa4;
/* rgb */ color: rgb(121, 63, 164);
/* oklch */ color: oklch(48.8% 0.161 308.0);
Tailwind
colors: {
  custom: {
    50: '#a377bf',
    500: '#793fa4',
    950: '#000000',
  },
}
SCSS
$custom: #793fa4;
$custom-light: #a377bf;
$custom-dark: #000000;
JSON
{
  "hex": "#793fa4",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 274.455,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48755,
    "c": 0.16058,
    "h": 308
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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