#794BBE#794BBE

#794BBE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.174 H 298.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#794BBE
RGBrgb(121, 75, 190)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(36.3%, 60.5%, 0%, 25.5%)
CIE-LABlab(42.48, 43.79, -53.61)
CIE-LCHlch(42.48, 69.22, 309.24°)
OKLaboklab(52.29% 0.0832 -0.1523)
OKLCHoklch(52.29% 0.174 298.7)
XYZxyz(19.6932, 12.8146, 50.1411)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BBE #90BE4B
analogous
#4B57BE #794BBE #B34BBE
triadic
#794BBE #BE794B #4BBE79
tetradic
#794BBE #BE4B57 #90BE4B #4BBEB3
square
#794BBE #BE4B57 #90BE4B #4BBEB3
split-complementary
#794BBE #BEB34B #57BE4B
monochromatic
#412669 #5C3696 #794BBE #9A78CE #BCA5DE

Accessibility & contrast

On white

5.89
#794BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794BBE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BBE#FFFFFF#000000##FFFFFF
##794BBE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#69647D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794bbe;
/* rgb */ color: rgb(121, 75, 190);
/* oklch */ color: oklch(52.3% 0.174 298.7);
Tailwind
colors: {
  custom: {
    50: '#a47fd2',
    500: '#794bbe',
    950: '#000000',
  },
}
SCSS
$custom: #794bbe;
$custom-light: #a47fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#794bbe",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 264,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.17355,
    "h": 298.7
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#794BBE
secondary
#B7CC99
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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