#784BAA#784BAA

#784BAA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.149 H 303.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#784BAA
RGBrgb(120, 75, 170)
HSLhsl(268, 39%, 48%)
HSVhsv(268, 56%, 67%)
CMYKcmyk(29.4%, 55.9%, 0%, 33.3%)
CIE-LABlab(41.10, 38.41, -44.07)
CIE-LCHlch(41.10, 58.46, 311.07°)
OKLaboklab(50.84% 0.0819 -0.1243)
OKLCHoklch(50.84% 0.149 303.4)
XYZxyz(17.5159, 11.9275, 39.4019)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BAA #7DAA4B
analogous
#4B4DAA #784BAA #A74BAA
triadic
#784BAA #AA784B #4BAA78
tetradic
#784BAA #AA4B4D #7DAA4B #4BAAA7
square
#784BAA #AA4B4D #7DAA4B #4BAAA7
split-complementary
#784BAA #AAA74B #4DAA4B
monochromatic
#3C2655 #5A3880 #784BAA #9772C1 #B69CD3

Accessibility & contrast

On white

6.20
#784BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#784BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BAA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BAA#FFFFFF#000000##FFFFFF
##784BAA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#3761A8
Tritanopia (blue-blind)
#6F5D73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #784baa;
/* rgb */ color: rgb(120, 75, 170);
/* oklch */ color: oklch(50.8% 0.149 303.4);
Tailwind
colors: {
  custom: {
    50: '#a27fc4',
    500: '#784baa',
    950: '#000000',
  },
}
SCSS
$custom: #784baa;
$custom-light: #a27fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#784baa",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 268.421,
    "s": 38.776,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.14889,
    "h": 303.4
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#784BAA
secondary
#AAC091
accent
#CF5997
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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