#784BB8#784BB8

#784BB8 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.166 H 299.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#784BB8
RGBrgb(120, 75, 184)
HSLhsl(265, 43%, 51%)
HSVhsv(265, 59%, 72%)
CMYKcmyk(34.8%, 59.2%, 0%, 27.8%)
CIE-LABlab(41.98, 41.99, -50.92)
CIE-LCHlch(41.98, 66.00, 309.51°)
OKLaboklab(51.77% 0.0821 -0.1444)
OKLCHoklch(51.77% 0.166 299.6)
XYZxyz(18.9114, 12.4857, 46.7518)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BB8 #8BB84B
analogous
#4B54B8 #784BB8 #AE4BB8
triadic
#784BB8 #B8784B #4BB878
tetradic
#784BB8 #B84B54 #8BB84B #4BB8AE
square
#784BB8 #B84B54 #8BB84B #4BB8AE
split-complementary
#784BB8 #B8AE4B #54B84B
monochromatic
#3F2762 #5B388E #784BB8 #9977C9 #BAA3DB

Accessibility & contrast

On white

6.00
#784BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#784BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BB8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BB8#FFFFFF#000000##FFFFFF
##784BB81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BC
Deuteranopia (green-blind)
#2762B6
Tritanopia (blue-blind)
#6A627A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784bb8;
/* rgb */ color: rgb(120, 75, 184);
/* oklch */ color: oklch(51.8% 0.166 299.6);
Tailwind
colors: {
  custom: {
    50: '#a37fce',
    500: '#784bb8',
    950: '#000000',
  },
}
SCSS
$custom: #784bb8;
$custom-light: #a37fce;
$custom-dark: #000000;
JSON
{
  "hex": "#784bb8",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 264.771,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.16611,
    "h": 299.6
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#784BB8
secondary
#B4C897
accent
#D3559F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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