#794FA7#794FA7

#794FA7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.139 H 304.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#794FA7
RGBrgb(121, 79, 167)
HSLhsl(269, 36%, 48%)
HSVhsv(269, 53%, 65%)
CMYKcmyk(27.5%, 52.7%, 0%, 34.5%)
CIE-LABlab(41.92, 35.64, -40.98)
CIE-LCHlch(41.92, 54.31, 311.01°)
OKLaboklab(51.41% 0.0776 -0.1153)
OKLCHoklch(51.41% 0.139 304)
XYZxyz(17.6547, 12.4470, 38.0241)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FA7 #7DA74F
analogous
#4F51A7 #794FA7 #A54FA7
triadic
#794FA7 #A7794F #4FA779
tetradic
#794FA7 #A74F51 #7DA74F #4FA7A5
square
#794FA7 #A74F51 #7DA74F #4FA7A5
split-complementary
#794FA7 #A7A54F #51A74F
monochromatic
#3D2854 #5B3B7D #794FA7 #9875BE #B79FD2

Accessibility & contrast

On white

6.02
#794FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#794FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FA7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FA7#FFFFFF#000000##FFFFFF
##794FA71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#715F73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794fa7;
/* rgb */ color: rgb(121, 79, 167);
/* oklch */ color: oklch(51.4% 0.139 304.0);
Tailwind
colors: {
  custom: {
    50: '#a282c1',
    500: '#794fa7',
    950: '#000000',
  },
}
SCSS
$custom: #794fa7;
$custom-light: #a282c1;
$custom-dark: #000000;
JSON
{
  "hex": "#794fa7",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 268.636,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.13897,
    "h": 304
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#794FA7
secondary
#AABE93
accent
#CC5C96
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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