#784D95#784D95

#784D95 is a mid, moderate violet. Relative luminance 0.115; OKLCH L 49.9% C 0.119 H 310.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#784D95
RGBrgb(120, 77, 149)
HSLhsl(276, 32%, 44%)
HSVhsv(276, 48%, 58%)
CMYKcmyk(19.5%, 48.3%, 0%, 41.6%)
CIE-LABlab(40.36, 32.12, -32.69)
CIE-LCHlch(40.36, 45.82, 314.49°)
OKLaboklab(49.91% 0.0772 -0.0911)
OKLCHoklch(49.91% 0.119 310.3)
XYZxyz(15.8234, 11.4710, 29.8085)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D95 #6A954D
analogous
#544D95 #784D95 #954D8E
triadic
#784D95 #95784D #4D9578
tetradic
#784D95 #95544D #6A954D #4D8E95
square
#784D95 #95544D #6A954D #4D8E95
split-complementary
#784D95 #8E954D #4D9554
monochromatic
#372344 #58386D #784D95 #976CB3 #B394C8

Accessibility & contrast

On white

6.37
#784D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#784D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D95
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D95#FFFFFF#000000##FFFFFF
##784D951.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D98
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#75586A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784d95;
/* rgb */ color: rgb(120, 77, 149);
/* oklch */ color: oklch(49.9% 0.119 310.3);
Tailwind
colors: {
  custom: {
    50: '#a080b4',
    500: '#784d95',
    950: '#000000',
  },
}
SCSS
$custom: #784d95;
$custom-light: #a080b4;
$custom-dark: #000000;
JSON
{
  "hex": "#784d95",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 275.833,
    "s": 31.858,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.11943,
    "h": 310.3
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#784D95
secondary
#9BB489
accent
#C8608A
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784D95

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

Preview Lab → · Contrast checker → · Palette generator →

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