#794BC7#794BC7

#794BC7 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.184 H 296.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#794BC7
RGBrgb(121, 75, 199)
HSLhsl(262, 53%, 54%)
HSVhsv(262, 62%, 78%)
CMYKcmyk(39.2%, 62.3%, 0%, 22%)
CIE-LABlab(43.09, 46.15, -57.86)
CIE-LCHlch(43.09, 74.01, 308.58°)
OKLaboklab(52.93% 0.0828 -0.1648)
OKLCHoklch(52.93% 0.184 296.7)
XYZxyz(20.7074, 13.2203, 55.4825)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BC7 #99C74B
analogous
#4B5BC7 #794BC7 #B74BC7
triadic
#794BC7 #C7794B #4BC779
tetradic
#794BC7 #C74B5B #99C74B #4BC7B7
square
#794BC7 #C74B5B #99C74B #4BC7B7
split-complementary
#794BC7 #C7B74B #5BC74B
monochromatic
#422474 #5C32A2 #794BC7 #9C7AD6 #BEA8E4

Accessibility & contrast

On white

5.76
#794BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#794BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BC7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BC7#FFFFFF#000000##FFFFFF
##794BC71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0264C4
Tritanopia (blue-blind)
#666782
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794bc7;
/* rgb */ color: rgb(121, 75, 199);
/* oklch */ color: oklch(52.9% 0.184 296.7);
Tailwind
colors: {
  custom: {
    50: '#a580d9',
    500: '#794bc7',
    950: '#000000',
  },
}
SCSS
$custom: #794bc7;
$custom-light: #a580d9;
$custom-dark: #000000;
JSON
{
  "hex": "#794bc7",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 262.258,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.1844,
    "h": 296.7
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#794BC7
secondary
#BED19C
accent
#DC4CA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BC7

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

Preview Lab → · Contrast checker → · Palette generator →

#794BC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva