#794597#794597

#794597 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.8% C 0.136 H 311.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#794597
RGBrgb(121, 69, 151)
HSLhsl(278, 37%, 43%)
HSVhsv(278, 54%, 59%)
CMYKcmyk(19.9%, 54.3%, 0%, 40.8%)
CIE-LABlab(38.82, 37.44, -36.32)
CIE-LCHlch(38.82, 52.17, 315.87°)
OKLaboklab(48.83% 0.0904 -0.1016)
OKLCHoklch(48.83% 0.136 311.7)
XYZxyz(15.5982, 10.5559, 30.4880)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794597 #639745
analogous
#504597 #794597 #97458C
triadic
#794597 #977945 #459779
tetradic
#794597 #975045 #639745 #458C97
square
#794597 #975045 #639745 #458C97
split-complementary
#794597 #8C9745 #459750
monochromatic
#361F43 #57326D #794597 #9862B7 #B48CCA

Accessibility & contrast

On white

6.75
#794597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#794597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794597
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794597#FFFFFF#000000##FFFFFF
##7945971.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#765367
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #794597;
/* rgb */ color: rgb(121, 69, 151);
/* oklch */ color: oklch(48.8% 0.136 311.7);
Tailwind
colors: {
  custom: {
    50: '#a27bb6',
    500: '#794597',
    950: '#000000',
  },
}
SCSS
$custom: #794597;
$custom-light: #a27bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#794597",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 278.049,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.136,
    "h": 311.7
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#794597
secondary
#95B682
accent
#CD5B85
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794597

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

Preview Lab → · Contrast checker → · Palette generator →

#794597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva