#784DA1#784DA1

#784DA1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.134 H 305.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#784DA1
RGBrgb(120, 77, 161)
HSLhsl(271, 35%, 47%)
HSVhsv(271, 52%, 63%)
CMYKcmyk(25.5%, 52.2%, 0%, 36.9%)
CIE-LABlab(41.02, 35.02, -38.85)
CIE-LCHlch(41.02, 52.31, 312.03°)
OKLaboklab(50.61% 0.0786 -0.1091)
OKLCHoklch(50.61% 0.134 305.8)
XYZxyz(16.8313, 11.8742, 35.1165)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DA1 #76A14D
analogous
#4E4DA1 #784DA1 #A14DA0
triadic
#784DA1 #A1784D #4DA178
tetradic
#784DA1 #A14E4D #76A14D #4DA0A1
square
#784DA1 #A14E4D #76A14D #4DA0A1
split-complementary
#784DA1 #A0A14D #4DA14E
monochromatic
#3A254E #593978 #784DA1 #9670BB #B59ACF

Accessibility & contrast

On white

6.22
#784DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#784DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DA1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DA1#FFFFFF#000000##FFFFFF
##784DA11.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#715C70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #784da1;
/* rgb */ color: rgb(120, 77, 161);
/* oklch */ color: oklch(50.6% 0.134 305.8);
Tailwind
colors: {
  custom: {
    50: '#a180bd',
    500: '#784da1',
    950: '#000000',
  },
}
SCSS
$custom: #784da1;
$custom-light: #a180bd;
$custom-dark: #000000;
JSON
{
  "hex": "#784da1",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 270.714,
    "s": 35.294,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.13444,
    "h": 305.8
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#784DA1
secondary
#A4BB8F
accent
#CB5C93
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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