#794697#794697

#794697 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.0% C 0.134 H 311.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#794697
RGBrgb(121, 70, 151)
HSLhsl(278, 37%, 43%)
HSVhsv(278, 54%, 59%)
CMYKcmyk(19.9%, 53.6%, 0%, 40.8%)
CIE-LABlab(39.04, 36.88, -35.98)
CIE-LCHlch(39.04, 51.53, 315.71°)
OKLaboklab(48.99% 0.089 -0.1006)
OKLCHoklch(48.99% 0.134 311.5)
XYZxyz(15.6602, 10.6800, 30.5086)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794697 #649746
analogous
#504697 #794697 #97468C
triadic
#794697 #977946 #469779
tetradic
#794697 #975046 #649746 #468C97
square
#794697 #975046 #649746 #468C97
split-complementary
#794697 #8C9746 #469750
monochromatic
#361F43 #57336D #794697 #9863B7 #B48DCA

Accessibility & contrast

On white

6.70
#794697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#794697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794697
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794697#FFFFFF#000000##FFFFFF
##7946971.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#765468
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #794697;
/* rgb */ color: rgb(121, 70, 151);
/* oklch */ color: oklch(49.0% 0.134 311.5);
Tailwind
colors: {
  custom: {
    50: '#a27bb6',
    500: '#794697',
    950: '#000000',
  },
}
SCSS
$custom: #794697;
$custom-light: #a27bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#794697",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 277.778,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48988,
    "c": 0.13431,
    "h": 311.5
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#794697
secondary
#96B683
accent
#CD5B85
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794697

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

Preview Lab → · Contrast checker → · Palette generator →

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