#784097#784097

#784097 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.9% C 0.144 H 311.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#784097
RGBrgb(120, 64, 151)
HSLhsl(279, 40%, 42%)
HSVhsv(279, 58%, 59%)
CMYKcmyk(20.5%, 57.6%, 0%, 40.8%)
CIE-LABlab(37.65, 39.92, -38.19)
CIE-LCHlch(37.65, 55.25, 316.27°)
OKLaboklab(47.94% 0.0961 -0.1071)
OKLCHoklch(47.94% 0.144 311.9)
XYZxyz(15.1640, 9.8946, 30.3832)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784097 #5F9740
analogous
#4D4097 #784097 #97408A
triadic
#784097 #977840 #409778
tetradic
#784097 #974D40 #5F9740 #408A97
square
#784097 #974D40 #5F9740 #408A97
split-complementary
#784097 #8A9740 #40974D
monochromatic
#341C41 #562E6C #784097 #985BB9 #B386CC

Accessibility & contrast

On white

7.05
#784097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#784097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784097
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784097#FFFFFF#000000##FFFFFF
##7840971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#754F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784097;
/* rgb */ color: rgb(120, 64, 151);
/* oklch */ color: oklch(47.9% 0.144 311.9);
Tailwind
colors: {
  custom: {
    50: '#a177b6',
    500: '#784097',
    950: '#000000',
  },
}
SCSS
$custom: #784097;
$custom-light: #a177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#784097",
  "rgb": {
    "r": 120,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 278.621,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.14385,
    "h": 311.9
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#784097
secondary
#91B67D
accent
#D05783
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784097

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

Preview Lab → · Contrast checker → · Palette generator →

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