#794BC2#794BC2

#794BC2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.178 H 297.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#794BC2
RGBrgb(121, 75, 194)
HSLhsl(263, 49%, 53%)
HSVhsv(263, 61%, 76%)
CMYKcmyk(37.6%, 61.3%, 0%, 23.9%)
CIE-LABlab(42.75, 44.83, -55.51)
CIE-LCHlch(42.75, 71.35, 308.93°)
OKLaboklab(52.57% 0.0831 -0.1579)
OKLCHoklch(52.57% 0.178 297.8)
XYZxyz(20.1364, 12.9919, 52.4753)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BC2 #94C24B
analogous
#4B58C2 #794BC2 #B44BC2
triadic
#794BC2 #C2794B #4BC279
tetradic
#794BC2 #C24B58 #94C24B #4BC2B4
square
#794BC2 #C24B58 #94C24B #4BC2B4
split-complementary
#794BC2 #C2B44B #58C24B
monochromatic
#41256D #5C359B #794BC2 #9B79D1 #BDA6E1

Accessibility & contrast

On white

5.84
#794BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#794BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BC2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BC2#FFFFFF#000000##FFFFFF
##794BC21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1664BF
Tritanopia (blue-blind)
#68657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794bc2;
/* rgb */ color: rgb(121, 75, 194);
/* oklch */ color: oklch(52.6% 0.178 297.8);
Tailwind
colors: {
  custom: {
    50: '#a47fd5',
    500: '#794bc2',
    950: '#000000',
  },
}
SCSS
$custom: #794bc2;
$custom-light: #a47fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#794bc2",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 263.193,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.17839,
    "h": 297.8
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#794BC2
secondary
#BACE9B
accent
#D94FA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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