#793EB8#793EB8

#793EB8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.185 H 302.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#793EB8
RGBrgb(121, 62, 184)
HSLhsl(269, 50%, 48%)
HSVhsv(269, 66%, 72%)
CMYKcmyk(34.2%, 66.3%, 0%, 27.8%)
CIE-LABlab(39.53, 49.13, -54.86)
CIE-LCHlch(39.53, 73.65, 311.85°)
OKLaboklab(50.02% 0.0988 -0.1559)
OKLCHoklch(50.02% 0.185 302.4)
XYZxyz(18.2575, 10.9709, 46.4938)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EB8 #7DB83E
analogous
#3E40B8 #793EB8 #B63EB8
triadic
#793EB8 #B8793E #3EB879
tetradic
#793EB8 #B83E40 #7DB83E #3EB8B6
square
#793EB8 #B83E40 #7DB83E #3EB8B6
split-complementary
#793EB8 #B8B63E #40B83E
monochromatic
#3D1F5C #5B2F8A #793EB8 #9867CC #B795DB

Accessibility & contrast

On white

6.57
#793EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#793EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EB8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EB8#FFFFFF#000000##FFFFFF
##793EB81.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#085DB5
Tritanopia (blue-blind)
#6C5976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793eb8;
/* rgb */ color: rgb(121, 62, 184);
/* oklch */ color: oklch(50.0% 0.185 302.4);
Tailwind
colors: {
  custom: {
    50: '#a477ce',
    500: '#793eb8',
    950: '#000000',
  },
}
SCSS
$custom: #793eb8;
$custom-light: #a477ce;
$custom-dark: #000000;
JSON
{
  "hex": "#793eb8",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 269.016,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.18459,
    "h": 302.4
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#793EB8
secondary
#AAC78B
accent
#D94F96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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