#784AC8#784AC8

#784AC8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.187 H 296.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#784AC8
RGBrgb(120, 74, 200)
HSLhsl(262, 53%, 54%)
HSVhsv(262, 63%, 78%)
CMYKcmyk(40%, 63%, 0%, 21.6%)
CIE-LABlab(42.85, 46.74, -58.83)
CIE-LCHlch(42.85, 75.14, 308.47°)
OKLaboklab(52.75% 0.0825 -0.1677)
OKLCHoklch(52.75% 0.187 296.2)
XYZxyz(20.6171, 13.0604, 56.0670)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC8 #9AC84A
analogous
#4A5BC8 #784AC8 #B74AC8
triadic
#784AC8 #C8784A #4AC878
tetradic
#784AC8 #C84A5B #9AC84A #4AC8B7
square
#784AC8 #C84A5B #9AC84A #4AC8B7
split-complementary
#784AC8 #C8B74A #5BC84A
monochromatic
#412374 #5B32A3 #784AC8 #9B79D6 #BEA8E5

Accessibility & contrast

On white

5.81
#784AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#784AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AC8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC8#FFFFFF#000000##FFFFFF
##784AC81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#646782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784ac8;
/* rgb */ color: rgb(120, 74, 200);
/* oklch */ color: oklch(52.7% 0.187 296.2);
Tailwind
colors: {
  custom: {
    50: '#a47fd9',
    500: '#784ac8',
    950: '#000000',
  },
}
SCSS
$custom: #784ac8;
$custom-light: #a47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac8",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 261.905,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.18685,
    "h": 296.2
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#784AC8
secondary
#BED29C
accent
#DD4BA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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