#793DC4#793DC4

#793DC4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.199 H 299.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#793DC4
RGBrgb(121, 61, 196)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 69%, 77%)
CMYKcmyk(38.3%, 68.9%, 0%, 23.1%)
CIE-LABlab(40.23, 52.62, -60.76)
CIE-LCHlch(40.23, 80.38, 310.89°)
OKLaboklab(50.79% 0.0983 -0.1733)
OKLCHoklch(50.79% 0.199 299.6)
XYZxyz(19.5152, 11.3877, 53.3837)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DC4 #88C43D
analogous
#3D44C4 #793DC4 #BD3DC4
triadic
#793DC4 #C4793D #3DC479
tetradic
#793DC4 #C43D44 #88C43D #3DC4BD
square
#793DC4 #C43D44 #88C43D #3DC4BD
split-complementary
#793DC4 #C4BD3D #44C43D
monochromatic
#3F1F67 #5C2E96 #793DC4 #996CD2 #BA9BE1

Accessibility & contrast

On white

6.41
#793DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#793DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DC4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DC4#FFFFFF#000000##FFFFFF
##793DC41.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#685D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793dc4;
/* rgb */ color: rgb(121, 61, 196);
/* oklch */ color: oklch(50.8% 0.199 299.6);
Tailwind
colors: {
  custom: {
    50: '#a677d7',
    500: '#793dc4',
    950: '#000000',
  },
}
SCSS
$custom: #793dc4;
$custom-light: #a677d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793dc4",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 266.667,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.19922,
    "h": 299.6
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#793DC4
secondary
#B2CD90
accent
#DD4B9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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