#784FAA#784FAA

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

Color values

HEX#784FAA
RGBrgb(120, 79, 170)
HSLhsl(267, 37%, 49%)
HSVhsv(267, 54%, 67%)
CMYKcmyk(29.4%, 53.5%, 0%, 33.3%)
CIE-LABlab(41.98, 36.13, -42.67)
CIE-LCHlch(41.98, 55.91, 310.25°)
OKLaboklab(51.49% 0.0765 -0.1202)
OKLCHoklch(51.49% 0.143 302.5)
XYZxyz(17.7958, 12.4873, 39.4952)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FAA #81AA4F
analogous
#4F54AA #784FAA #A64FAA
triadic
#784FAA #AA784F #4FAA78
tetradic
#784FAA #AA4F54 #81AA4F #4FAAA6
square
#784FAA #AA4F54 #81AA4F #4FAAA6
split-complementary
#784FAA #AAA64F #54AA4F
monochromatic
#3D2856 #5B3C80 #784FAA #9777C0 #B7A0D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784FAA#FFFFFF#000000##FFFFFF
##784FAA1.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)
#2F62AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#6F6075
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784faa;
/* rgb */ color: rgb(120, 79, 170);
/* oklch */ color: oklch(51.5% 0.143 302.5);
Tailwind
colors: {
  custom: {
    50: '#a282c4',
    500: '#784faa',
    950: '#000000',
  },
}
SCSS
$custom: #784faa;
$custom-light: #a282c4;
$custom-dark: #000000;
JSON
{
  "hex": "#784faa",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 267.033,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.14252,
    "h": 302.5
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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