#784AC3#784AC3

#784AC3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.181 H 297.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#784AC3
RGBrgb(120, 74, 195)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 62%, 76%)
CMYKcmyk(38.5%, 62.1%, 0%, 23.5%)
CIE-LABlab(42.51, 45.42, -56.49)
CIE-LCHlch(42.51, 72.49, 308.80°)
OKLaboklab(52.39% 0.0828 -0.1608)
OKLCHoklch(52.39% 0.181 297.3)
XYZxyz(20.0423, 12.8304, 53.0398)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC3 #95C34A
analogous
#4A58C3 #784AC3 #B44AC3
triadic
#784AC3 #C3784A #4AC378
tetradic
#784AC3 #C34A58 #95C34A #4AC3B4
square
#784AC3 #C34A58 #95C34A #4AC3B4
split-complementary
#784AC3 #C3B44A #58C34A
monochromatic
#40246E #5B349C #784AC3 #9A78D2 #BDA6E1

Accessibility & contrast

On white

5.89
#784AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#784AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AC3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC3#FFFFFF#000000##FFFFFF
##784AC31.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0C63C0
Tritanopia (blue-blind)
#666580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784ac3;
/* rgb */ color: rgb(120, 74, 195);
/* oklch */ color: oklch(52.4% 0.181 297.3);
Tailwind
colors: {
  custom: {
    50: '#a47fd6',
    500: '#784ac3',
    950: '#000000',
  },
}
SCSS
$custom: #784ac3;
$custom-light: #a47fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac3",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 262.81,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.18087,
    "h": 297.3
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#784AC3
secondary
#BBCF9A
accent
#DA4EA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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