#794EA7#794EA7

#794EA7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.141 H 304.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#794EA7
RGBrgb(121, 78, 167)
HSLhsl(269, 36%, 48%)
HSVhsv(269, 53%, 65%)
CMYKcmyk(27.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(41.69, 36.21, -41.34)
CIE-LCHlch(41.69, 54.96, 311.22°)
OKLaboklab(51.25% 0.079 -0.1163)
OKLCHoklch(51.25% 0.141 304.2)
XYZxyz(17.5831, 12.3038, 38.0003)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EA7 #7CA74E
analogous
#4E4FA7 #794EA7 #A64EA7
triadic
#794EA7 #A7794E #4EA779
tetradic
#794EA7 #A74E4F #7CA74E #4EA7A6
square
#794EA7 #A74E4F #7CA74E #4EA7A6
split-complementary
#794EA7 #A7A64E #4FA74E
monochromatic
#3D2754 #5B3B7D #794EA7 #9874BE #B79ED2

Accessibility & contrast

On white

6.07
#794EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#794EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EA7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EA7#FFFFFF#000000##FFFFFF
##794EA71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#3E62A5
Tritanopia (blue-blind)
#715E73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794ea7;
/* rgb */ color: rgb(121, 78, 167);
/* oklch */ color: oklch(51.2% 0.141 304.2);
Tailwind
colors: {
  custom: {
    50: '#a281c1',
    500: '#794ea7',
    950: '#000000',
  },
}
SCSS
$custom: #794ea7;
$custom-light: #a281c1;
$custom-dark: #000000;
JSON
{
  "hex": "#794ea7",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 268.989,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.1406,
    "h": 304.2
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#794EA7
secondary
#A9BE92
accent
#CC5B96
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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