#794CB7#794CB7

#794CB7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.164 H 300.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#794CB7
RGBrgb(121, 76, 183)
HSLhsl(265, 43%, 51%)
HSVhsv(265, 58%, 72%)
CMYKcmyk(33.9%, 58.5%, 0%, 28.2%)
CIE-LABlab(42.24, 41.42, -49.92)
CIE-LCHlch(42.24, 64.86, 309.68°)
OKLaboklab(51.96% 0.0822 -0.1414)
OKLCHoklch(51.96% 0.164 300.2)
XYZxyz(19.0148, 12.6526, 46.2310)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CB7 #8AB74C
analogous
#4C54B7 #794CB7 #AE4CB7
triadic
#794CB7 #B7794C #4CB779
tetradic
#794CB7 #B74C54 #8AB74C #4CB7AE
square
#794CB7 #B74C54 #8AB74C #4CB7AE
split-complementary
#794CB7 #B7AE4C #54B74C
monochromatic
#402761 #5C398D #794CB7 #9A78C9 #BAA3DA

Accessibility & contrast

On white

5.95
#794CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#794CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CB7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CB7#FFFFFF#000000##FFFFFF
##794CB71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BA
Deuteranopia (green-blind)
#2B63B5
Tritanopia (blue-blind)
#6C627A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794cb7;
/* rgb */ color: rgb(121, 76, 183);
/* oklch */ color: oklch(52.0% 0.164 300.2);
Tailwind
colors: {
  custom: {
    50: '#a380cd',
    500: '#794cb7',
    950: '#000000',
  },
}
SCSS
$custom: #794cb7;
$custom-light: #a380cd;
$custom-dark: #000000;
JSON
{
  "hex": "#794cb7",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 265.234,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.16357,
    "h": 300.2
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#794CB7
secondary
#B3C798
accent
#D2559E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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