#794FB0#794FB0

#794FB0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.150 H 301.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#794FB0
RGBrgb(121, 79, 176)
HSLhsl(266, 38%, 50%)
HSVhsv(266, 55%, 69%)
CMYKcmyk(31.3%, 55.1%, 0%, 31%)
CIE-LABlab(42.45, 37.92, -45.46)
CIE-LCHlch(42.45, 59.20, 309.83°)
OKLaboklab(51.98% 0.0782 -0.1284)
OKLCHoklch(51.98% 0.15 301.3)
XYZxyz(18.5158, 12.7914, 42.5594)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FB0 #86B04F
analogous
#4F56B0 #794FB0 #A94FB0
triadic
#794FB0 #B0794F #4FB079
tetradic
#794FB0 #B04F56 #86B04F #4FB0A9
square
#794FB0 #B04F56 #86B04F #4FB0A9
split-complementary
#794FB0 #B0A94F #56B04F
monochromatic
#3F295C #5C3C86 #794FB0 #9979C3 #B9A3D6

Accessibility & contrast

On white

5.90
#794FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#794FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FB0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FB0#FFFFFF#000000##FFFFFF
##794FB01.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B3
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#6E6278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794fb0;
/* rgb */ color: rgb(121, 79, 176);
/* oklch */ color: oklch(52.0% 0.150 301.3);
Tailwind
colors: {
  custom: {
    50: '#a382c8',
    500: '#794fb0',
    950: '#000000',
  },
}
SCSS
$custom: #794fb0;
$custom-light: #a382c8;
$custom-dark: #000000;
JSON
{
  "hex": "#794fb0",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 265.979,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.1503,
    "h": 301.3
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#794FB0
secondary
#B0C398
accent
#CE5A9C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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