#794FB7#794FB7

#794FB7 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.159 H 299.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#794FB7
RGBrgb(121, 79, 183)
HSLhsl(264, 42%, 51%)
HSVhsv(264, 57%, 72%)
CMYKcmyk(33.9%, 56.8%, 0%, 28.2%)
CIE-LABlab(42.88, 39.73, -48.89)
CIE-LCHlch(42.88, 62.99, 309.10°)
OKLaboklab(52.43% 0.0784 -0.1384)
OKLCHoklch(52.43% 0.159 299.5)
XYZxyz(19.2263, 13.0756, 46.3015)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FB7 #8DB74F
analogous
#4F59B7 #794FB7 #AD4FB7
triadic
#794FB7 #B7794F #4FB779
tetradic
#794FB7 #B74F59 #8DB74F #4FB7AD
square
#794FB7 #B74F59 #8DB74F #4FB7AD
split-complementary
#794FB7 #B7AD4F #59B74F
monochromatic
#402963 #5C3A8F #794FB7 #9A7AC9 #BBA6DB

Accessibility & contrast

On white

5.81
#794FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#794FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FB7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FB7#FFFFFF#000000##FFFFFF
##794FB71.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BA
Deuteranopia (green-blind)
#3064B5
Tritanopia (blue-blind)
#6C647B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794fb7;
/* rgb */ color: rgb(121, 79, 183);
/* oklch */ color: oklch(52.4% 0.159 299.5);
Tailwind
colors: {
  custom: {
    50: '#a382cd',
    500: '#794fb7',
    950: '#000000',
  },
}
SCSS
$custom: #794fb7;
$custom-light: #a382cd;
$custom-dark: #000000;
JSON
{
  "hex": "#794fb7",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 264.231,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.15906,
    "h": 299.5
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#794FB7
secondary
#B5C89A
accent
#D256A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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