#784BAE#784BAE

#784BAE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.154 H 302.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#784BAE
RGBrgb(120, 75, 174)
HSLhsl(267, 40%, 49%)
HSVhsv(267, 57%, 68%)
CMYKcmyk(31%, 56.9%, 0%, 31.8%)
CIE-LABlab(41.34, 39.42, -46.05)
CIE-LCHlch(41.34, 60.62, 310.57°)
OKLaboklab(51.1% 0.0821 -0.1301)
OKLCHoklch(51.1% 0.154 302.2)
XYZxyz(17.9000, 12.0812, 41.4251)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BAE #81AE4B
analogous
#4B50AE #784BAE #AA4BAE
triadic
#784BAE #AE784B #4BAE78
tetradic
#784BAE #AE4B50 #81AE4B #4BAEAA
square
#784BAE #AE4B50 #81AE4B #4BAEAA
split-complementary
#784BAE #AEAA4B #50AE4B
monochromatic
#3D2658 #5B3983 #784BAE #9773C3 #B79ED5

Accessibility & contrast

On white

6.15
#784BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#784BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BAE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BAE#FFFFFF#000000##FFFFFF
##784BAE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#6E5F75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #784bae;
/* rgb */ color: rgb(120, 75, 174);
/* oklch */ color: oklch(51.1% 0.154 302.2);
Tailwind
colors: {
  custom: {
    50: '#a27fc7',
    500: '#784bae',
    950: '#000000',
  },
}
SCSS
$custom: #784bae;
$custom-light: #a27fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#784bae",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 267.273,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.15383,
    "h": 302.2
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#784BAE
secondary
#ADC293
accent
#D05899
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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