#784FAB#784FAB

#784FAB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.144 H 302.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#784FAB
RGBrgb(120, 79, 171)
HSLhsl(267, 37%, 49%)
HSVhsv(267, 54%, 67%)
CMYKcmyk(29.8%, 53.8%, 0%, 32.9%)
CIE-LABlab(42.04, 36.38, -43.17)
CIE-LCHlch(42.04, 56.45, 310.12°)
OKLaboklab(51.55% 0.0766 -0.1217)
OKLCHoklch(51.55% 0.144 302.2)
XYZxyz(17.8907, 12.5253, 39.9953)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FAB #82AB4F
analogous
#4F54AB #784FAB #A64FAB
triadic
#784FAB #AB784F #4FAB78
tetradic
#784FAB #AB4F54 #82AB4F #4FABA6
square
#784FAB #AB4F54 #82AB4F #4FABA6
split-complementary
#784FAB #ABA64F #54AB4F
monochromatic
#3D2857 #5B3C81 #784FAB #9877C0 #B7A1D4

Accessibility & contrast

On white

5.99
#784FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#784FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FAB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FAB#FFFFFF#000000##FFFFFF
##784FAB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#6E6075
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784fab;
/* rgb */ color: rgb(120, 79, 171);
/* oklch */ color: oklch(51.6% 0.144 302.2);
Tailwind
colors: {
  custom: {
    50: '#a282c4',
    500: '#784fab',
    950: '#000000',
  },
}
SCSS
$custom: #784fab;
$custom-light: #a282c4;
$custom-dark: #000000;
JSON
{
  "hex": "#784fab",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 266.739,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.14379,
    "h": 302.2
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#784FAB
secondary
#ADC195
accent
#CD5B9A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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