#794ABD#794ABD

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

Color values

HEX#794ABD
RGBrgb(121, 74, 189)
HSLhsl(265, 47%, 52%)
HSVhsv(265, 61%, 74%)
CMYKcmyk(36%, 60.8%, 0%, 25.9%)
CIE-LABlab(42.21, 44.08, -53.47)
CIE-LCHlch(42.21, 69.29, 309.50°)
OKLaboklab(52.07% 0.0845 -0.1519)
OKLCHoklch(52.07% 0.174 299.1)
XYZxyz(19.5170, 12.6364, 49.5451)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ABD #8EBD4A
analogous
#4A55BD #794ABD #B34ABD
triadic
#794ABD #BD794A #4ABD79
tetradic
#794ABD #BD4A55 #8EBD4A #4ABDB3
square
#794ABD #BD4A55 #8EBD4A #4ABDB3
split-complementary
#794ABD #BDB34A #55BD4A
monochromatic
#402667 #5C3694 #794ABD #9A77CD #BBA4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794ABD#FFFFFF#000000##FFFFFF
##794ABD1.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)
#0064C1
Deuteranopia (green-blind)
#1E63BA
Tritanopia (blue-blind)
#6A637C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794abd;
/* rgb */ color: rgb(121, 74, 189);
/* oklch */ color: oklch(52.1% 0.174 299.1);
Tailwind
colors: {
  custom: {
    50: '#a47fd2',
    500: '#794abd',
    950: '#000000',
  },
}
SCSS
$custom: #794abd;
$custom-light: #a47fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#794abd",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 264.522,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.17379,
    "h": 299.1
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#794ABD
secondary
#B6CB98
accent
#D652A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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