#784D93#784D93

#784D93 is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.8% C 0.117 H 311.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#784D93
RGBrgb(120, 77, 147)
HSLhsl(277, 31%, 44%)
HSVhsv(277, 48%, 58%)
CMYKcmyk(18.4%, 47.6%, 0%, 42.4%)
CIE-LABlab(40.26, 31.64, -31.64)
CIE-LCHlch(40.26, 44.75, 315.00°)
OKLaboklab(49.8% 0.0769 -0.0881)
OKLCHoklch(49.8% 0.117 311.1)
XYZxyz(15.6651, 11.4077, 28.9748)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D93 #68934D
analogous
#554D93 #784D93 #934D8B
triadic
#784D93 #93784D #4D9378
tetradic
#784D93 #93554D #68934D #4D8B93
square
#784D93 #93554D #68934D #4D8B93
split-complementary
#784D93 #8B934D #4D9355
monochromatic
#362343 #57386B #784D93 #976BB2 #B394C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784D93#FFFFFF#000000##FFFFFF
##784D931.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)
#3D5D95
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#755869
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784d93;
/* rgb */ color: rgb(120, 77, 147);
/* oklch */ color: oklch(49.8% 0.117 311.1);
Tailwind
colors: {
  custom: {
    50: '#a080b3',
    500: '#784d93',
    950: '#000000',
  },
}
SCSS
$custom: #784d93;
$custom-light: #a080b3;
$custom-dark: #000000;
JSON
{
  "hex": "#784d93",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 147
  },
  "hsl": {
    "h": 276.857,
    "s": 31.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.11695,
    "h": 311.1
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#784D93
secondary
#99B389
accent
#C76088
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784D93

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

Preview Lab → · Contrast checker → · Palette generator →

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