#784FB3#784FB3

#784FB3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.154 H 300.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#784FB3
RGBrgb(120, 79, 179)
HSLhsl(265, 40%, 51%)
HSVhsv(265, 56%, 70%)
CMYKcmyk(33%, 55.9%, 0%, 29.8%)
CIE-LABlab(42.52, 38.44, -47.12)
CIE-LCHlch(42.52, 60.81, 309.21°)
OKLaboklab(52.06% 0.077 -0.1332)
OKLCHoklch(52.06% 0.154 300)
XYZxyz(18.6764, 12.8396, 44.1334)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FB3 #8AB34F
analogous
#4F58B3 #784FB3 #AA4FB3
triadic
#784FB3 #B3784F #4FB378
tetradic
#784FB3 #B34F58 #8AB34F #4FB3AA
square
#784FB3 #B34F58 #8AB34F #4FB3AA
split-complementary
#784FB3 #B3AA4F #58B34F
monochromatic
#3F295F #5B3B89 #784FB3 #997AC5 #BAA4D8

Accessibility & contrast

On white

5.89
#784FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#784FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FB3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FB3#FFFFFF#000000##FFFFFF
##784FB31.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B6
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#6C6379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784fb3;
/* rgb */ color: rgb(120, 79, 179);
/* oklch */ color: oklch(52.1% 0.154 300.0);
Tailwind
colors: {
  custom: {
    50: '#a282ca',
    500: '#784fb3',
    950: '#000000',
  },
}
SCSS
$custom: #784fb3;
$custom-light: #a282ca;
$custom-dark: #000000;
JSON
{
  "hex": "#784fb3",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 264.6,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.15388,
    "h": 300
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#784FB3
secondary
#B3C599
accent
#D0589F
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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