#793BC5#793BC5

#793BC5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.203 H 299.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#793BC5
RGBrgb(121, 59, 197)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 77%)
CMYKcmyk(38.6%, 70.1%, 0%, 22.7%)
CIE-LABlab(39.95, 53.83, -61.79)
CIE-LCHlch(39.95, 81.95, 311.07°)
OKLaboklab(50.62% 0.1002 -0.1763)
OKLCHoklch(50.62% 0.203 299.6)
XYZxyz(19.5247, 11.2239, 53.9503)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BC5 #87C53B
analogous
#3B42C5 #793BC5 #BE3BC5
triadic
#793BC5 #C5793B #3BC579
tetradic
#793BC5 #C53B42 #87C53B #3BC5BE
square
#793BC5 #C53B42 #87C53B #3BC5BE
split-complementary
#793BC5 #C5BE3B #42C53B
monochromatic
#3F1F67 #5C2C96 #793BC5 #996AD3 #BA99E1

Accessibility & contrast

On white

6.47
#793BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#793BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BC5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BC5#FFFFFF#000000##FFFFFF
##793BC51.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#675C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793bc5;
/* rgb */ color: rgb(121, 59, 197);
/* oklch */ color: oklch(50.6% 0.203 299.6);
Tailwind
colors: {
  custom: {
    50: '#a676d7',
    500: '#793bc5',
    950: '#000000',
  },
}
SCSS
$custom: #793bc5;
$custom-light: #a676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793bc5",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 266.957,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.20274,
    "h": 299.6
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#793BC5
secondary
#B1CD8F
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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