#794DBB#794DBB

#794DBB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.167 H 299.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#794DBB
RGBrgb(121, 77, 187)
HSLhsl(264, 45%, 52%)
HSVhsv(264, 59%, 73%)
CMYKcmyk(35.3%, 58.8%, 0%, 26.7%)
CIE-LABlab(42.70, 41.90, -51.51)
CIE-LCHlch(42.70, 66.39, 309.13°)
OKLaboklab(52.39% 0.0809 -0.1461)
OKLCHoklch(52.39% 0.167 299)
XYZxyz(19.5065, 12.9604, 48.4780)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DBB #8FBB4D
analogous
#4D58BB #794DBB #B04DBB
triadic
#794DBB #BB794D #4DBB79
tetradic
#794DBB #BB4D58 #8FBB4D #4DBBB0
square
#794DBB #BB4D58 #8FBB4D #4DBBB0
split-complementary
#794DBB #BBB04D #58BB4D
monochromatic
#402766 #5C3893 #794DBB #9A79CC #BCA6DD

Accessibility & contrast

On white

5.85
#794DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#794DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DBB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DBB#FFFFFF#000000##FFFFFF
##794DBB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165BF
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#6A647C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794dbb;
/* rgb */ color: rgb(121, 77, 187);
/* oklch */ color: oklch(52.4% 0.167 299.0);
Tailwind
colors: {
  custom: {
    50: '#a481d0',
    500: '#794dbb',
    950: '#000000',
  },
}
SCSS
$custom: #794dbb;
$custom-light: #a481d0;
$custom-dark: #000000;
JSON
{
  "hex": "#794dbb",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 264,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.167,
    "h": 299
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#794DBB
secondary
#B7CA9A
accent
#D453A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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