#794397#794397

#794397 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.5% C 0.139 H 312.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#794397
RGBrgb(121, 67, 151)
HSLhsl(279, 39%, 43%)
HSVhsv(279, 56%, 59%)
CMYKcmyk(19.9%, 55.6%, 0%, 40.8%)
CIE-LABlab(38.40, 38.55, -36.99)
CIE-LCHlch(38.40, 53.43, 316.18°)
OKLaboklab(48.52% 0.0932 -0.1036)
OKLCHoklch(48.52% 0.139 312)
XYZxyz(15.4772, 10.3140, 30.4476)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794397 #619743
analogous
#4F4397 #794397 #97438B
triadic
#794397 #977943 #439779
tetradic
#794397 #974F43 #619743 #438B97
square
#794397 #974F43 #619743 #438B97
split-complementary
#794397 #8B9743 #43974F
monochromatic
#351D42 #57306D #794397 #985FB8 #B48ACB

Accessibility & contrast

On white

6.86
#794397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#794397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794397
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794397#FFFFFF#000000##FFFFFF
##7943971.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#765166
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #794397;
/* rgb */ color: rgb(121, 67, 151);
/* oklch */ color: oklch(48.5% 0.139 312.0);
Tailwind
colors: {
  custom: {
    50: '#a279b6',
    500: '#794397',
    950: '#000000',
  },
}
SCSS
$custom: #794397;
$custom-light: #a279b6;
$custom-dark: #000000;
JSON
{
  "hex": "#794397",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 278.571,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.13933,
    "h": 312
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#794397
secondary
#93B680
accent
#CE5983
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794397

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

Preview Lab → · Contrast checker → · Palette generator →

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