#794BD8#794BD8

#794BD8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.205 H 293.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#794BD8
RGBrgb(121, 75, 216)
HSLhsl(260, 64%, 57%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(44%, 65.3%, 0%, 15.3%)
CIE-LABlab(44.31, 50.68, -65.67)
CIE-LCHlch(44.31, 82.95, 307.66°)
OKLaboklab(54.19% 0.0812 -0.1878)
OKLCHoklch(54.19% 0.205 293.4)
XYZxyz(22.7925, 14.0543, 66.4643)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BD8 #AAD84B
analogous
#4B64D8 #794BD8 #BF4BD8
triadic
#794BD8 #D8794B #4BD879
tetradic
#794BD8 #D84B64 #AAD84B #4BD8BF
square
#794BD8 #D84B64 #AAD84B #4BD8BF
split-complementary
#794BD8 #D8BF4B #64D84B
monochromatic
#411E8B #5929BD #794BD8 #9E7DE3 #C4B0EE

Accessibility & contrast

On white

5.51
#794BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#794BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BD8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BD8#FFFFFF#000000##FFFFFF
##794BD81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#5E6D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794bd8;
/* rgb */ color: rgb(121, 75, 216);
/* oklch */ color: oklch(54.2% 0.205 293.4);
Tailwind
colors: {
  custom: {
    50: '#a780e5',
    500: '#794bd8',
    950: '#000000',
  },
}
SCSS
$custom: #794bd8;
$custom-light: #a780e5;
$custom-dark: #000000;
JSON
{
  "hex": "#794bd8",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 259.574,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.20455,
    "h": 293.4
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#794BD8
secondary
#C9DCA3
accent
#E740B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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