#794FBF#794FBF

#794FBF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.169 H 297.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#794FBF
RGBrgb(121, 79, 191)
HSLhsl(263, 47%, 53%)
HSVhsv(263, 59%, 75%)
CMYKcmyk(36.6%, 58.6%, 0%, 25.1%)
CIE-LABlab(43.39, 41.83, -52.74)
CIE-LCHlch(43.39, 67.31, 308.42°)
OKLaboklab(52.97% 0.0784 -0.1497)
OKLCHoklch(52.97% 0.169 297.6)
XYZxyz(20.0827, 13.4182, 50.8120)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FBF #95BF4F
analogous
#4F5DBF #794FBF #B14FBF
triadic
#794FBF #BF794F #4FBF79
tetradic
#794FBF #BF4F5D #95BF4F #4FBFB1
square
#794FBF #BF4F5D #95BF4F #4FBFB1
split-complementary
#794FBF #BFB14F #5DBF4F
monochromatic
#41276C #5C3899 #794FBF #9B7CCF #BDA9E0

Accessibility & contrast

On white

5.70
#794FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794FBF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FBF#FFFFFF#000000##FFFFFF
##794FBF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#69677F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794fbf;
/* rgb */ color: rgb(121, 79, 191);
/* oklch */ color: oklch(53.0% 0.169 297.6);
Tailwind
colors: {
  custom: {
    50: '#a482d3',
    500: '#794fbf',
    950: '#000000',
  },
}
SCSS
$custom: #794fbf;
$custom-light: #a482d3;
$custom-dark: #000000;
JSON
{
  "hex": "#794fbf",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 262.5,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.169,
    "h": 297.6
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#794FBF
secondary
#BBCD9D
accent
#D651A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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