#794FBE#794FBE

#794FBE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.168 H 297.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#794FBE
RGBrgb(121, 79, 190)
HSLhsl(263, 46%, 53%)
HSVhsv(263, 58%, 75%)
CMYKcmyk(36.3%, 58.4%, 0%, 25.5%)
CIE-LABlab(43.32, 41.56, -52.26)
CIE-LCHlch(43.32, 66.77, 308.50°)
OKLaboklab(52.9% 0.0784 -0.1483)
OKLCHoklch(52.9% 0.168 297.9)
XYZxyz(19.9731, 13.3744, 50.2344)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FBE #94BE4F
analogous
#4F5CBE #794FBE #B14FBE
triadic
#794FBE #BE794F #4FBE79
tetradic
#794FBE #BE4F5C #94BE4F #4FBEB1
square
#794FBE #BE4F5C #94BE4F #4FBEB1
split-complementary
#794FBE #BEB14F #5CBE4F
monochromatic
#41286B #5C3898 #794FBE #9B7CCF #BDA8DF

Accessibility & contrast

On white

5.71
#794FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#794FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FBE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FBE#FFFFFF#000000##FFFFFF
##794FBE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#2765BC
Tritanopia (blue-blind)
#69667F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794fbe;
/* rgb */ color: rgb(121, 79, 190);
/* oklch */ color: oklch(52.9% 0.168 297.9);
Tailwind
colors: {
  custom: {
    50: '#a482d2',
    500: '#794fbe',
    950: '#000000',
  },
}
SCSS
$custom: #794fbe;
$custom-light: #a482d2;
$custom-dark: #000000;
JSON
{
  "hex": "#794fbe",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 262.703,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.529,
    "c": 0.16777,
    "h": 297.9
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#794FBE
secondary
#BACC9C
accent
#D652A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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