#784FB6#784FB6

#784FB6 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.158 H 299.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#784FB6
RGBrgb(120, 79, 182)
HSLhsl(264, 41%, 51%)
HSVhsv(264, 57%, 71%)
CMYKcmyk(34.1%, 56.6%, 0%, 28.6%)
CIE-LABlab(42.71, 39.22, -48.58)
CIE-LCHlch(42.71, 62.44, 308.92°)
OKLaboklab(52.26% 0.077 -0.1375)
OKLCHoklch(52.26% 0.158 299.3)
XYZxyz(18.9832, 12.9623, 45.7487)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FB6 #8DB64F
analogous
#4F59B6 #784FB6 #AB4FB6
triadic
#784FB6 #B6784F #4FB678
tetradic
#784FB6 #B64F59 #8DB64F #4FB6AB
square
#784FB6 #B64F59 #8DB64F #4FB6AB
split-complementary
#784FB6 #B6AB4F #59B64F
monochromatic
#3F2962 #5B3B8D #784FB6 #997AC8 #BAA6DA

Accessibility & contrast

On white

5.85
#784FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784FB6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FB6#FFFFFF#000000##FFFFFF
##784FB61.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165B9
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#6B647B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784fb6;
/* rgb */ color: rgb(120, 79, 182);
/* oklch */ color: oklch(52.3% 0.158 299.3);
Tailwind
colors: {
  custom: {
    50: '#a382cc',
    500: '#784fb6',
    950: '#000000',
  },
}
SCSS
$custom: #784fb6;
$custom-light: #a382cc;
$custom-dark: #000000;
JSON
{
  "hex": "#784fb6",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 263.883,
    "s": 41.365,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.15765,
    "h": 299.3
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#784FB6
secondary
#B5C79A
accent
#D157A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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