#793FA5#793FA5

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

Color values

HEX#793FA5
RGBrgb(121, 63, 165)
HSLhsl(274, 45%, 45%)
HSVhsv(274, 62%, 65%)
CMYKcmyk(26.7%, 61.8%, 0%, 35.3%)
CIE-LABlab(38.44, 44.00, -45.35)
CIE-LCHlch(38.44, 63.19, 314.14°)
OKLaboklab(48.82% 0.0988 -0.128)
OKLCHoklch(48.82% 0.162 307.7)
XYZxyz(16.4528, 10.3368, 36.7185)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FA5 #6BA53F
analogous
#463FA5 #793FA5 #A53F9E
triadic
#793FA5 #A5793F #3FA579
tetradic
#793FA5 #A5463F #6BA53F #3F9EA5
square
#793FA5 #A5463F #6BA53F #3F9EA5
split-complementary
#793FA5 #9EA53F #3FA546
monochromatic
#381D4C #592E79 #793FA5 #975FC2 #B48CD3

Accessibility & contrast

On white

6.85
#793FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#793FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FA5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FA5#FFFFFF#000000##FFFFFF
##793FA51.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#72536C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793fa5;
/* rgb */ color: rgb(121, 63, 165);
/* oklch */ color: oklch(48.8% 0.162 307.7);
Tailwind
colors: {
  custom: {
    50: '#a377c0',
    500: '#793fa5',
    950: '#000000',
  },
}
SCSS
$custom: #793fa5;
$custom-light: #a377c0;
$custom-dark: #000000;
JSON
{
  "hex": "#793fa5",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 274.118,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.16172,
    "h": 307.7
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#793FA5
secondary
#9CBE82
accent
#D4538B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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