#794ABC#794ABC

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

Color values

HEX#794ABC
RGBrgb(121, 74, 188)
HSLhsl(265, 46%, 51%)
HSVhsv(265, 61%, 74%)
CMYKcmyk(35.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(42.14, 43.82, -52.99)
CIE-LCHlch(42.14, 68.76, 309.59°)
OKLaboklab(52% 0.0845 -0.1505)
OKLCHoklch(52% 0.173 299.3)
XYZxyz(19.4088, 12.5932, 48.9754)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ABC #8DBC4A
analogous
#4A54BC #794ABC #B24ABC
triadic
#794ABC #BC794A #4ABC79
tetradic
#794ABC #BC4A54 #8DBC4A #4ABCB2
square
#794ABC #BC4A54 #8DBC4A #4ABCB2
split-complementary
#794ABC #BCB24A #54BC4A
monochromatic
#402666 #5C3693 #794ABC #9A77CD #BBA3DD

Accessibility & contrast

On white

5.97
#794ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#794ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ABC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ABC#FFFFFF#000000##FFFFFF
##794ABC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#6A627C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794abc;
/* rgb */ color: rgb(121, 74, 188);
/* oklch */ color: oklch(52.0% 0.173 299.3);
Tailwind
colors: {
  custom: {
    50: '#a47fd1',
    500: '#794abc',
    950: '#000000',
  },
}
SCSS
$custom: #794abc;
$custom-light: #a47fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#794abc",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 264.737,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.17257,
    "h": 299.3
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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