#794AC3#794AC3

#794AC3 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.181 H 297.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#794AC3
RGBrgb(121, 74, 195)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 62%, 76%)
CMYKcmyk(37.9%, 62.1%, 0%, 23.5%)
CIE-LABlab(42.62, 45.64, -56.31)
CIE-LCHlch(42.62, 72.48, 309.02°)
OKLaboklab(52.49% 0.0842 -0.1602)
OKLCHoklch(52.49% 0.181 297.7)
XYZxyz(20.1818, 12.9023, 53.0463)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AC3 #94C34A
analogous
#4A57C3 #794AC3 #B54AC3
triadic
#794AC3 #C3794A #4AC379
tetradic
#794AC3 #C34A57 #94C34A #4AC3B5
square
#794AC3 #C34A57 #94C34A #4AC3B5
split-complementary
#794AC3 #C3B54A #57C34A
monochromatic
#41246E #5C349C #794AC3 #9B78D2 #BDA6E1

Accessibility & contrast

On white

5.86
#794AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#794AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AC3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AC3#FFFFFF#000000##FFFFFF
##794AC31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0F63C0
Tritanopia (blue-blind)
#686580
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794ac3;
/* rgb */ color: rgb(121, 74, 195);
/* oklch */ color: oklch(52.5% 0.181 297.7);
Tailwind
colors: {
  custom: {
    50: '#a57fd6',
    500: '#794ac3',
    950: '#000000',
  },
}
SCSS
$custom: #794ac3;
$custom-light: #a57fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#794ac3",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 263.306,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.18098,
    "h": 297.7
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#794AC3
secondary
#BACF9A
accent
#DA4EA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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