#793FC8#793FC8

#793FC8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.201 H 298.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#793FC8
RGBrgb(121, 63, 200)
HSLhsl(265, 55%, 52%)
HSVhsv(265, 69%, 78%)
CMYKcmyk(39.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(40.88, 52.64, -62.03)
CIE-LCHlch(40.88, 81.36, 310.32°)
OKLaboklab(51.35% 0.0956 -0.177)
OKLCHoklch(51.35% 0.201 298.4)
XYZxyz(20.0853, 11.7898, 55.8498)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FC8 #8EC83F
analogous
#3F4AC8 #793FC8 #BD3FC8
triadic
#793FC8 #C8793F #3FC879
tetradic
#793FC8 #C83F4A #8EC83F #3FC8BD
square
#793FC8 #C83F4A #8EC83F #3FC8BD
split-complementary
#793FC8 #C8BD3F #4AC83F
monochromatic
#401F6D #5C2D9D #793FC8 #9A6FD6 #BB9EE3

Accessibility & contrast

On white

6.25
#793FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#793FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FC8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FC8#FFFFFF#000000##FFFFFF
##793FC81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#66607F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793fc8;
/* rgb */ color: rgb(121, 63, 200);
/* oklch */ color: oklch(51.4% 0.201 298.4);
Tailwind
colors: {
  custom: {
    50: '#a678da',
    500: '#793fc8',
    950: '#000000',
  },
}
SCSS
$custom: #793fc8;
$custom-light: #a678da;
$custom-dark: #000000;
JSON
{
  "hex": "#793fc8",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 265.401,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.20118,
    "h": 298.4
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#793FC8
secondary
#B6D093
accent
#DF499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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