#784DAB#784DAB

#784DAB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.147 H 302.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#784DAB
RGBrgb(120, 77, 171)
HSLhsl(267, 38%, 49%)
HSVhsv(267, 55%, 67%)
CMYKcmyk(29.8%, 55%, 0%, 32.9%)
CIE-LABlab(41.60, 37.53, -43.87)
CIE-LCHlch(41.60, 57.73, 310.54°)
OKLaboklab(51.23% 0.0793 -0.1237)
OKLCHoklch(51.23% 0.147 302.7)
XYZxyz(17.7486, 12.2411, 39.9479)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DAB #80AB4D
analogous
#4D51AB #784DAB #A74DAB
triadic
#784DAB #AB784D #4DAB78
tetradic
#784DAB #AB4D51 #80AB4D #4DABA7
square
#784DAB #AB4D51 #80AB4D #4DABA7
split-complementary
#784DAB #ABA74D #51AB4D
monochromatic
#3D2757 #5A3A81 #784DAB #9775C1 #B79FD4

Accessibility & contrast

On white

6.09
#784DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#784DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DAB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DAB#FFFFFF#000000##FFFFFF
##784DAB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#3862A9
Tritanopia (blue-blind)
#6E5F74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784dab;
/* rgb */ color: rgb(120, 77, 171);
/* oklch */ color: oklch(51.2% 0.147 302.7);
Tailwind
colors: {
  custom: {
    50: '#a280c4',
    500: '#784dab',
    950: '#000000',
  },
}
SCSS
$custom: #784dab;
$custom-light: #a280c4;
$custom-dark: #000000;
JSON
{
  "hex": "#784dab",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 267.447,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.14697,
    "h": 302.7
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#784DAB
secondary
#ACC093
accent
#CE5A99
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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