#784AC1#784AC1

#784AC1 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.178 H 297.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#784AC1
RGBrgb(120, 74, 193)
HSLhsl(263, 49%, 52%)
HSVhsv(263, 62%, 76%)
CMYKcmyk(37.8%, 61.7%, 0%, 24.3%)
CIE-LABlab(42.37, 44.90, -55.55)
CIE-LCHlch(42.37, 71.42, 308.94°)
OKLaboklab(52.24% 0.0829 -0.158)
OKLCHoklch(52.24% 0.178 297.7)
XYZxyz(19.8177, 12.7406, 51.8568)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC1 #93C14A
analogous
#4A58C1 #784AC1 #B34AC1
triadic
#784AC1 #C1784A #4AC178
tetradic
#784AC1 #C14A58 #93C14A #4AC1B3
square
#784AC1 #C14A58 #93C14A #4AC1B3
split-complementary
#784AC1 #C1B34A #58C14A
monochromatic
#40256C #5B3599 #784AC1 #9A78D1 #BCA5E0

Accessibility & contrast

On white

5.92
#784AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#784AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AC1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC1#FFFFFF#000000##FFFFFF
##784AC11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#1363BE
Tritanopia (blue-blind)
#67647E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784ac1;
/* rgb */ color: rgb(120, 74, 193);
/* oklch */ color: oklch(52.2% 0.178 297.7);
Tailwind
colors: {
  custom: {
    50: '#a47fd4',
    500: '#784ac1',
    950: '#000000',
  },
}
SCSS
$custom: #784ac1;
$custom-light: #a47fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac1",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 263.193,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.17846,
    "h": 297.7
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#784AC1
secondary
#B9CD99
accent
#D94FA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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