#794BBA#794BBA

#794BBA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.169 H 299.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#794BBA
RGBrgb(121, 75, 186)
HSLhsl(265, 45%, 51%)
HSVhsv(265, 60%, 73%)
CMYKcmyk(34.9%, 59.7%, 0%, 27.1%)
CIE-LABlab(42.22, 42.75, -51.70)
CIE-LCHlch(42.22, 67.08, 309.59°)
OKLaboklab(52.01% 0.0834 -0.1467)
OKLCHoklch(52.01% 0.169 299.6)
XYZxyz(19.2620, 12.6421, 47.8702)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BBA #8CBA4B
analogous
#4B54BA #794BBA #B04BBA
triadic
#794BBA #BA794B #4BBA79
tetradic
#794BBA #BA4B54 #8CBA4B #4BBAB0
square
#794BBA #BA4B54 #8CBA4B #4BBAB0
split-complementary
#794BBA #BAB04B #54BA4B
monochromatic
#402664 #5C3790 #794BBA #9A77CB #BBA3DC

Accessibility & contrast

On white

5.95
#794BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#794BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BBA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BBA#FFFFFF#000000##FFFFFF
##794BBA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BE
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#6B627B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794bba;
/* rgb */ color: rgb(121, 75, 186);
/* oklch */ color: oklch(52.0% 0.169 299.6);
Tailwind
colors: {
  custom: {
    50: '#a47fcf',
    500: '#794bba',
    950: '#000000',
  },
}
SCSS
$custom: #794bba;
$custom-light: #a47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#794bba",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 264.865,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.16871,
    "h": 299.6
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#794BBA
secondary
#B5C998
accent
#D4549F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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