#784AB1#784AB1

#784AB1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.159 H 301.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#784AB1
RGBrgb(120, 74, 177)
HSLhsl(267, 41%, 49%)
HSVhsv(267, 58%, 69%)
CMYKcmyk(32.2%, 58.2%, 0%, 30.6%)
CIE-LABlab(41.32, 40.75, -47.86)
CIE-LCHlch(41.32, 62.86, 310.41°)
OKLaboklab(51.14% 0.0834 -0.1354)
OKLCHoklch(51.14% 0.159 301.6)
XYZxyz(18.1285, 12.0649, 42.9601)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AB1 #83B14A
analogous
#4A50B1 #784AB1 #AC4AB1
triadic
#784AB1 #B1784A #4AB178
tetradic
#784AB1 #B14A50 #83B14A #4AB1AC
square
#784AB1 #B14A50 #83B14A #4AB1AC
split-complementary
#784AB1 #B1AC4A #50B14A
monochromatic
#3D265B #5B3886 #784AB1 #9874C5 #B89FD7

Accessibility & contrast

On white

6.15
#784AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#784AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AB1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AB1#FFFFFF#000000##FFFFFF
##784AB11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B4
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#6D5F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #784ab1;
/* rgb */ color: rgb(120, 74, 177);
/* oklch */ color: oklch(51.1% 0.159 301.6);
Tailwind
colors: {
  custom: {
    50: '#a27ec9',
    500: '#784ab1',
    950: '#000000',
  },
}
SCSS
$custom: #784ab1;
$custom-light: #a27ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#784ab1",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 266.796,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.15905,
    "h": 301.6
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#784AB1
secondary
#AEC393
accent
#D1579A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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