#784C8F#784C8F

#784C8F is a mid, moderate violet. Relative luminance 0.111; OKLCH L 49.4% C 0.114 H 313.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#784C8F
RGBrgb(120, 76, 143)
HSLhsl(279, 31%, 43%)
HSVhsv(279, 47%, 56%)
CMYKcmyk(16.1%, 46.9%, 0%, 43.9%)
CIE-LABlab(39.82, 31.29, -29.91)
CIE-LCHlch(39.82, 43.29, 316.30°)
OKLaboklab(49.41% 0.0778 -0.083)
OKLCHoklch(49.41% 0.114 313.1)
XYZxyz(15.2873, 11.1455, 27.3273)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784C8F #638F4C
analogous
#564C8F #784C8F #8F4C84
triadic
#784C8F #8F784C #4C8F78
tetradic
#784C8F #8F564C #638F4C #4C848F
square
#784C8F #8F564C #638F4C #4C848F
split-complementary
#784C8F #848F4C #4C8F56
monochromatic
#35223F #563767 #784C8F #9769AF #B391C4

Accessibility & contrast

On white

6.50
#784C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#784C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784C8F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784C8F#FFFFFF#000000##FFFFFF
##784C8F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#765667
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784c8f;
/* rgb */ color: rgb(120, 76, 143);
/* oklch */ color: oklch(49.4% 0.114 313.1);
Tailwind
colors: {
  custom: {
    50: '#a07fb0',
    500: '#784c8f',
    950: '#000000',
  },
}
SCSS
$custom: #784c8f;
$custom-light: #a07fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#784c8f",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 279.403,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.11379,
    "h": 313.1
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#784C8F
secondary
#95B186
accent
#C76184
background
#FAF7FA
surface
#F3EEF5
border
#CDC9CF
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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