#793DC5#793DC5

#793DC5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.200 H 299.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#793DC5
RGBrgb(121, 61, 197)
HSLhsl(266, 54%, 51%)
HSVhsv(266, 69%, 77%)
CMYKcmyk(38.6%, 69%, 0%, 22.7%)
CIE-LABlab(40.30, 52.87, -61.22)
CIE-LCHlch(40.30, 80.89, 310.81°)
OKLaboklab(50.87% 0.0981 -0.1746)
OKLCHoklch(50.87% 0.2 299.3)
XYZxyz(19.6294, 11.4334, 53.9852)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DC5 #89C53D
analogous
#3D45C5 #793DC5 #BD3DC5
triadic
#793DC5 #C5793D #3DC579
tetradic
#793DC5 #C53D45 #89C53D #3DC5BD
square
#793DC5 #C53D45 #89C53D #3DC5BD
split-complementary
#793DC5 #C5BD3D #45C53D
monochromatic
#3F1F68 #5C2D98 #793DC5 #9A6CD3 #BA9BE1

Accessibility & contrast

On white

6.39
#793DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#793DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DC5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DC5#FFFFFF#000000##FFFFFF
##793DC51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#675E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793dc5;
/* rgb */ color: rgb(121, 61, 197);
/* oklch */ color: oklch(50.9% 0.200 299.3);
Tailwind
colors: {
  custom: {
    50: '#a677d7',
    500: '#793dc5',
    950: '#000000',
  },
}
SCSS
$custom: #793dc5;
$custom-light: #a677d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793dc5",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 266.471,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.20031,
    "h": 299.3
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#793DC5
secondary
#B2CD91
accent
#DD4A9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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