#783AA0#783AA0

#783AA0 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.163 H 309.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#783AA0
RGBrgb(120, 58, 160)
HSLhsl(276, 47%, 43%)
HSVhsv(276, 64%, 63%)
CMYKcmyk(25%, 63.8%, 0%, 37.3%)
CIE-LABlab(37.04, 45.17, -44.61)
CIE-LCHlch(37.04, 63.48, 315.36°)
OKLaboklab(47.67% 0.1039 -0.1258)
OKLCHoklch(47.67% 0.163 309.6)
XYZxyz(15.6027, 9.5575, 34.2737)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA0 #62A03A
analogous
#453AA0 #783AA0 #A03A95
triadic
#783AA0 #A0783A #3AA078
tetradic
#783AA0 #A0453A #62A03A #3A95A0
square
#783AA0 #A0453A #62A03A #3A95A0
split-complementary
#783AA0 #95A03A #3AA045
monochromatic
#351946 #562A73 #783AA0 #9756C2 #B383D2

Accessibility & contrast

On white

7.21
#783AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#783AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA0#FFFFFF#000000##FFFFFF
##783AA01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A3
Deuteranopia (green-blind)
#2C589E
Tritanopia (blue-blind)
#724E67
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783aa0;
/* rgb */ color: rgb(120, 58, 160);
/* oklch */ color: oklch(47.7% 0.163 309.6);
Tailwind
colors: {
  custom: {
    50: '#a274bd',
    500: '#783aa0',
    950: '#000000',
  },
}
SCSS
$custom: #783aa0;
$custom-light: #a274bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa0",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 276.471,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.1632,
    "h": 309.6
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#783AA0
secondary
#94BC7A
accent
#D65186
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA0

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

Preview Lab → · Contrast checker → · Palette generator →

#783AA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva