#784C95#784C95

#784C95 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.121 H 310.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#784C95
RGBrgb(120, 76, 149)
HSLhsl(276, 32%, 44%)
HSVhsv(276, 49%, 58%)
CMYKcmyk(19.5%, 49%, 0%, 41.6%)
CIE-LABlab(40.13, 32.70, -33.05)
CIE-LCHlch(40.13, 46.49, 314.69°)
OKLaboklab(49.74% 0.0787 -0.0921)
OKLCHoklch(49.74% 0.121 310.5)
XYZxyz(15.7540, 11.3322, 29.7854)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784C95 #69954C
analogous
#544C95 #784C95 #954C8E
triadic
#784C95 #95784C #4C9578
tetradic
#784C95 #95544C #69954C #4C8E95
square
#784C95 #95544C #69954C #4C8E95
split-complementary
#784C95 #8E954C #4C9554
monochromatic
#372344 #57376C #784C95 #976BB3 #B393C8

Accessibility & contrast

On white

6.43
#784C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#784C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784C95
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784C95#FFFFFF#000000##FFFFFF
##784C951.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5C98
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#755869
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784c95;
/* rgb */ color: rgb(120, 76, 149);
/* oklch */ color: oklch(49.7% 0.121 310.5);
Tailwind
colors: {
  custom: {
    50: '#a17fb4',
    500: '#784c95',
    950: '#000000',
  },
}
SCSS
$custom: #784c95;
$custom-light: #a17fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#784c95",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 276.164,
    "s": 32.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.12118,
    "h": 310.5
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#784C95
secondary
#9AB488
accent
#C95F89
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784C95

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

Preview Lab → · Contrast checker → · Palette generator →

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