#794FBA#794FBA

#794FBA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.163 H 298.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#794FBA
RGBrgb(121, 79, 186)
HSLhsl(264, 44%, 52%)
HSVhsv(264, 58%, 73%)
CMYKcmyk(34.9%, 57.5%, 0%, 27.1%)
CIE-LABlab(43.07, 40.51, -50.34)
CIE-LCHlch(43.07, 64.62, 308.83°)
OKLaboklab(52.63% 0.0784 -0.1427)
OKLCHoklch(52.63% 0.163 298.8)
XYZxyz(19.5419, 13.2019, 47.9635)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FBA #90BA4F
analogous
#4F5BBA #794FBA #AE4FBA
triadic
#794FBA #BA794F #4FBA79
tetradic
#794FBA #BA4F5B #90BA4F #4FBAAE
square
#794FBA #BA4F5B #90BA4F #4FBAAE
split-complementary
#794FBA #BAAE4F #5BBA4F
monochromatic
#412866 #5C3992 #794FBA #9A7BCB #BCA7DC

Accessibility & contrast

On white

5.77
#794FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#794FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FBA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FBA#FFFFFF#000000##FFFFFF
##794FBA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#6B657D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794fba;
/* rgb */ color: rgb(121, 79, 186);
/* oklch */ color: oklch(52.6% 0.163 298.8);
Tailwind
colors: {
  custom: {
    50: '#a482cf',
    500: '#794fba',
    950: '#000000',
  },
}
SCSS
$custom: #794fba;
$custom-light: #a482cf;
$custom-dark: #000000;
JSON
{
  "hex": "#794fba",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 263.551,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.1628,
    "h": 298.8
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#794FBA
secondary
#B7CA9B
accent
#D354A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #794FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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