#793EAF#793EAF

#793EAF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 304.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#793EAF
RGBrgb(121, 62, 175)
HSLhsl(271, 48%, 46%)
HSVhsv(271, 65%, 69%)
CMYKcmyk(30.9%, 64.6%, 0%, 31.4%)
CIE-LABlab(38.91, 46.93, -50.55)
CIE-LCHlch(38.91, 68.98, 312.87°)
OKLaboklab(49.37% 0.0996 -0.1433)
OKLCHoklch(49.37% 0.174 304.8)
XYZxyz(17.3439, 10.6054, 41.6825)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EAF #74AF3E
analogous
#413EAF #793EAF #AF3EAD
triadic
#793EAF #AF793E #3EAF79
tetradic
#793EAF #AF413E #74AF3E #3EADAF
square
#793EAF #AF413E #74AF3E #3EADAF
split-complementary
#793EAF #ADAF3E #3EAF41
monochromatic
#3B1E55 #5A2E82 #793EAF #9763C8 #B590D8

Accessibility & contrast

On white

6.73
#793EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#793EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EAF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EAF#FFFFFF#000000##FFFFFF
##793EAF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#1F5CAC
Tritanopia (blue-blind)
#6F5671
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793eaf;
/* rgb */ color: rgb(121, 62, 175);
/* oklch */ color: oklch(49.4% 0.174 304.8);
Tailwind
colors: {
  custom: {
    50: '#a477c8',
    500: '#793eaf',
    950: '#000000',
  },
}
SCSS
$custom: #793eaf;
$custom-light: #a477c8;
$custom-dark: #000000;
JSON
{
  "hex": "#793eaf",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 271.327,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.17448,
    "h": 304.8
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#793EAF
secondary
#A3C386
accent
#D75191
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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