#794CC2#794CC2

#794CC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.177 H 297.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#794CC2
RGBrgb(121, 76, 194)
HSLhsl(263, 49%, 53%)
HSVhsv(263, 61%, 76%)
CMYKcmyk(37.6%, 60.8%, 0%, 23.9%)
CIE-LABlab(42.96, 44.28, -55.18)
CIE-LCHlch(42.96, 70.75, 308.75°)
OKLaboklab(52.72% 0.0819 -0.1569)
OKLCHoklch(52.72% 0.177 297.6)
XYZxyz(20.2047, 13.1286, 52.4980)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CC2 #95C24C
analogous
#4C5AC2 #794CC2 #B44CC2
triadic
#794CC2 #C2794C #4CC279
tetradic
#794CC2 #C24C5A #95C24C #4CC2B4
square
#794CC2 #C24C5A #95C24C #4CC2B4
split-complementary
#794CC2 #C2B44C #5AC24C
monochromatic
#41266E #5C359C #794CC2 #9B7AD2 #BDA7E1

Accessibility & contrast

On white

5.79
#794CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#794CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CC2#FFFFFF#000000##FFFFFF
##794CC21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#686680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794cc2;
/* rgb */ color: rgb(121, 76, 194);
/* oklch */ color: oklch(52.7% 0.177 297.6);
Tailwind
colors: {
  custom: {
    50: '#a480d5',
    500: '#794cc2',
    950: '#000000',
  },
}
SCSS
$custom: #794cc2;
$custom-light: #a480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#794cc2",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 262.881,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.17698,
    "h": 297.6
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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