#794BBF#794BBF

#794BBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.175 H 298.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#794BBF
RGBrgb(121, 75, 191)
HSLhsl(264, 48%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(36.6%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.55, 44.05, -54.09)
CIE-LCHlch(42.55, 69.76, 309.16°)
OKLaboklab(52.36% 0.0832 -0.1537)
OKLCHoklch(52.36% 0.175 298.4)
XYZxyz(19.8029, 12.8584, 50.7187)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BBF #91BF4B
analogous
#4B57BF #794BBF #B34BBF
triadic
#794BBF #BF794B #4BBF79
tetradic
#794BBF #BF4B57 #91BF4B #4BBFB3
square
#794BBF #BF4B57 #91BF4B #4BBFB3
split-complementary
#794BBF #BFB34B #57BF4B
monochromatic
#41266A #5C3697 #794BBF #9B78CF #BCA5DF

Accessibility & contrast

On white

5.88
#794BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#794BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BBF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BBF#FFFFFF#000000##FFFFFF
##794BBF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#69647E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794bbf;
/* rgb */ color: rgb(121, 75, 191);
/* oklch */ color: oklch(52.4% 0.175 298.4);
Tailwind
colors: {
  custom: {
    50: '#a47fd3',
    500: '#794bbf',
    950: '#000000',
  },
}
SCSS
$custom: #794bbf;
$custom-light: #a47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#794bbf",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 263.793,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.17477,
    "h": 298.4
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#794BBF
secondary
#B8CC9A
accent
#D751A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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