#783AA3#783AA3

#783AA3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.167 H 308.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#783AA3
RGBrgb(120, 58, 163)
HSLhsl(275, 48%, 43%)
HSVhsv(275, 64%, 64%)
CMYKcmyk(26.4%, 64.4%, 0%, 36.1%)
CIE-LABlab(37.23, 45.87, -46.10)
CIE-LCHlch(37.23, 65.03, 314.86°)
OKLaboklab(47.88% 0.1038 -0.1302)
OKLCHoklch(47.88% 0.167 308.6)
XYZxyz(15.8683, 9.6638, 35.6726)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA3 #65A33A
analogous
#443AA3 #783AA3 #A33A99
triadic
#783AA3 #A3783A #3AA378
tetradic
#783AA3 #A3443A #65A33A #3A99A3
square
#783AA3 #A3443A #65A33A #3A99A3
split-complementary
#783AA3 #99A33A #3AA344
monochromatic
#361A49 #572A76 #783AA3 #9757C3 #B384D3

Accessibility & contrast

On white

7.16
#783AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#783AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA3#FFFFFF#000000##FFFFFF
##783AA31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#2958A1
Tritanopia (blue-blind)
#724F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783aa3;
/* rgb */ color: rgb(120, 58, 163);
/* oklch */ color: oklch(47.9% 0.167 308.6);
Tailwind
colors: {
  custom: {
    50: '#a274bf',
    500: '#783aa3',
    950: '#000000',
  },
}
SCSS
$custom: #783aa3;
$custom-light: #a274bf;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa3",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 275.429,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.1665,
    "h": 308.6
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#783AA3
secondary
#96BD7C
accent
#D75188
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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