#793FA2#793FA2

#793FA2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.158 H 308.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#793FA2
RGBrgb(121, 63, 162)
HSLhsl(275, 44%, 44%)
HSVhsv(275, 61%, 64%)
CMYKcmyk(25.3%, 61.1%, 0%, 36.5%)
CIE-LABlab(38.25, 43.29, -43.86)
CIE-LCHlch(38.25, 61.62, 314.63°)
OKLaboklab(48.62% 0.0989 -0.1236)
OKLCHoklch(48.62% 0.158 308.7)
XYZxyz(16.1830, 10.2288, 35.2973)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FA2 #68A23F
analogous
#483FA2 #793FA2 #A23F9A
triadic
#793FA2 #A2793F #3FA279
tetradic
#793FA2 #A2483F #68A23F #3F9AA2
square
#793FA2 #A2483F #68A23F #3F9AA2
split-complementary
#793FA2 #9AA23F #3FA248
monochromatic
#371D4A #582E76 #793FA2 #985EC0 #B48AD1

Accessibility & contrast

On white

6.89
#793FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793FA2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FA2#FFFFFF#000000##FFFFFF
##793FA21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#73526A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793fa2;
/* rgb */ color: rgb(121, 63, 162);
/* oklch */ color: oklch(48.6% 0.158 308.7);
Tailwind
colors: {
  custom: {
    50: '#a377be',
    500: '#793fa2',
    950: '#000000',
  },
}
SCSS
$custom: #793fa2;
$custom-light: #a377be;
$custom-dark: #000000;
JSON
{
  "hex": "#793fa2",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 275.152,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.15831,
    "h": 308.7
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#793FA2
secondary
#99BC81
accent
#D45489
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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