#784C97#784C97

#784C97 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.124 H 309.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#784C97
RGBrgb(120, 76, 151)
HSLhsl(275, 33%, 45%)
HSVhsv(275, 50%, 59%)
CMYKcmyk(20.5%, 49.7%, 0%, 40.8%)
CIE-LABlab(40.24, 33.17, -34.09)
CIE-LCHlch(40.24, 47.56, 314.22°)
OKLaboklab(49.85% 0.079 -0.0952)
OKLCHoklch(49.85% 0.124 309.7)
XYZxyz(15.9150, 11.3966, 30.6335)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784C97 #6B974C
analogous
#534C97 #784C97 #974C91
triadic
#784C97 #97784C #4C9778
tetradic
#784C97 #97534C #6B974C #4C9197
square
#784C97 #97534C #6B974C #4C9197
split-complementary
#784C97 #91974C #4C9753
monochromatic
#372346 #58386E #784C97 #966BB5 #B394C9

Accessibility & contrast

On white

6.40
#784C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#784C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784C97
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784C97#FFFFFF#000000##FFFFFF
##784C971.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#74586A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784c97;
/* rgb */ color: rgb(120, 76, 151);
/* oklch */ color: oklch(49.9% 0.124 309.7);
Tailwind
colors: {
  custom: {
    50: '#a17fb6',
    500: '#784c97',
    950: '#000000',
  },
}
SCSS
$custom: #784c97;
$custom-light: #a17fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#784c97",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 275.2,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49854,
    "c": 0.12367,
    "h": 309.7
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#784C97
secondary
#9CB689
accent
#C95F8B
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784C97

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

Preview Lab → · Contrast checker → · Palette generator →

#784C97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva