#794BBB#794BBB

#794BBB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.170 H 299.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#794BBB
RGBrgb(121, 75, 187)
HSLhsl(265, 45%, 51%)
HSVhsv(265, 60%, 73%)
CMYKcmyk(35.3%, 59.9%, 0%, 26.7%)
CIE-LABlab(42.28, 43.01, -52.18)
CIE-LCHlch(42.28, 67.62, 309.50°)
OKLaboklab(52.08% 0.0833 -0.1481)
OKLCHoklch(52.08% 0.17 299.4)
XYZxyz(19.3687, 12.6848, 48.4320)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BBB #8DBB4B
analogous
#4B55BB #794BBB #B14BBB
triadic
#794BBB #BB794B #4BBB79
tetradic
#794BBB #BB4B55 #8DBB4B #4BBBB1
square
#794BBB #BB4B55 #8DBB4B #4BBBB1
split-complementary
#794BBB #BBB14B #55BB4B
monochromatic
#402665 #5C3792 #794BBB #9A77CC #BBA4DD

Accessibility & contrast

On white

5.94
#794BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#794BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BBB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BBB#FFFFFF#000000##FFFFFF
##794BBB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#6B637C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794bbb;
/* rgb */ color: rgb(121, 75, 187);
/* oklch */ color: oklch(52.1% 0.170 299.4);
Tailwind
colors: {
  custom: {
    50: '#a47fd0',
    500: '#794bbb',
    950: '#000000',
  },
}
SCSS
$custom: #794bbb;
$custom-light: #a47fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#794bbb",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 264.643,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.16992,
    "h": 299.4
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#794BBB
secondary
#B5CA98
accent
#D5539F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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