#794FBB#794FBB

#794FBB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.164 H 298.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#794FBB
RGBrgb(121, 79, 187)
HSLhsl(263, 44%, 52%)
HSVhsv(263, 58%, 73%)
CMYKcmyk(35.3%, 57.8%, 0%, 26.7%)
CIE-LABlab(43.13, 40.78, -50.82)
CIE-LCHlch(43.13, 65.16, 308.74°)
OKLaboklab(52.7% 0.0784 -0.1441)
OKLCHoklch(52.7% 0.164 298.5)
XYZxyz(19.6486, 13.2445, 48.5253)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FBB #91BB4F
analogous
#4F5BBB #794FBB #AF4FBB
triadic
#794FBB #BB794F #4FBB79
tetradic
#794FBB #BB4F5B #91BB4F #4FBBAF
square
#794FBB #BB4F5B #91BB4F #4FBBAF
split-complementary
#794FBB #BBAF4F #5BBB4F
monochromatic
#412868 #5C3994 #794FBB #9B7BCC #BCA7DD

Accessibility & contrast

On white

5.76
#794FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#794FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FBB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FBB#FFFFFF#000000##FFFFFF
##794FBB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#6A657D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794fbb;
/* rgb */ color: rgb(121, 79, 187);
/* oklch */ color: oklch(52.7% 0.164 298.5);
Tailwind
colors: {
  custom: {
    50: '#a482d0',
    500: '#794fbb',
    950: '#000000',
  },
}
SCSS
$custom: #794fbb;
$custom-light: #a482d0;
$custom-dark: #000000;
JSON
{
  "hex": "#794fbb",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 263.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.16405,
    "h": 298.5
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#794FBB
secondary
#B8CA9B
accent
#D454A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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