#793FA0#793FA0

#793FA0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.156 H 309.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#793FA0
RGBrgb(121, 63, 160)
HSLhsl(276, 43%, 44%)
HSVhsv(276, 61%, 63%)
CMYKcmyk(24.4%, 60.6%, 0%, 37.3%)
CIE-LABlab(38.13, 42.82, -42.86)
CIE-LCHlch(38.13, 60.58, 314.97°)
OKLaboklab(48.49% 0.0989 -0.1207)
OKLCHoklch(48.49% 0.156 309.3)
XYZxyz(16.0066, 10.1583, 34.3684)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FA0 #66A03F
analogous
#483FA0 #793FA0 #A03F96
triadic
#793FA0 #A0793F #3FA079
tetradic
#793FA0 #A0483F #66A03F #3F96A0
square
#793FA0 #A0483F #66A03F #3F96A0
split-complementary
#793FA0 #96A03F #3FA048
monochromatic
#371C48 #582E74 #793FA0 #985DBF #B489D0

Accessibility & contrast

On white

6.93
#793FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#793FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FA0
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FA0#FFFFFF#000000##FFFFFF
##793FA01.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A3
Deuteranopia (green-blind)
#335B9E
Tritanopia (blue-blind)
#745169
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793fa0;
/* rgb */ color: rgb(121, 63, 160);
/* oklch */ color: oklch(48.5% 0.156 309.3);
Tailwind
colors: {
  custom: {
    50: '#a377bd',
    500: '#793fa0',
    950: '#000000',
  },
}
SCSS
$custom: #793fa0;
$custom-light: #a377bd;
$custom-dark: #000000;
JSON
{
  "hex": "#793fa0",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 275.876,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48491,
    "c": 0.15604,
    "h": 309.3
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#793FA0
secondary
#98BB80
accent
#D35587
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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