#784BC3#784BC3

#784BC3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.179 H 297.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#784BC3
RGBrgb(120, 75, 195)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 62%, 76%)
CMYKcmyk(38.5%, 61.5%, 0%, 23.5%)
CIE-LABlab(42.71, 44.88, -56.16)
CIE-LCHlch(42.71, 71.89, 308.63°)
OKLaboklab(52.53% 0.0817 -0.1598)
OKLCHoklch(52.53% 0.179 297.1)
XYZxyz(20.1096, 12.9650, 53.0622)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BC3 #96C34B
analogous
#4B5AC3 #784BC3 #B44BC3
triadic
#784BC3 #C3784B #4BC378
tetradic
#784BC3 #C34B5A #96C34B #4BC3B4
square
#784BC3 #C34B5A #96C34B #4BC3B4
split-complementary
#784BC3 #C3B44B #5AC34B
monochromatic
#41256F #5B349D #784BC3 #9A79D2 #BDA7E2

Accessibility & contrast

On white

5.84
#784BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#784BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BC3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BC3#FFFFFF#000000##FFFFFF
##784BC31.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#1063C0
Tritanopia (blue-blind)
#666580
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784bc3;
/* rgb */ color: rgb(120, 75, 195);
/* oklch */ color: oklch(52.5% 0.179 297.1);
Tailwind
colors: {
  custom: {
    50: '#a47fd6',
    500: '#784bc3',
    950: '#000000',
  },
}
SCSS
$custom: #784bc3;
$custom-light: #a47fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#784bc3",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 262.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.17947,
    "h": 297.1
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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