#783AA9#783AA9

#783AA9 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.173 H 306.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#783AA9
RGBrgb(120, 58, 169)
HSLhsl(274, 49%, 45%)
HSVhsv(274, 66%, 66%)
CMYKcmyk(29%, 65.7%, 0%, 33.7%)
CIE-LABlab(37.63, 47.29, -49.04)
CIE-LCHlch(37.63, 68.13, 313.96°)
OKLaboklab(48.29% 0.1034 -0.1388)
OKLCHoklch(48.29% 0.173 306.7)
XYZxyz(16.4187, 9.8839, 38.5713)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA9 #6BA93A
analogous
#413AA9 #783AA9 #A93AA3
triadic
#783AA9 #A9783A #3AA978
tetradic
#783AA9 #A9413A #6BA93A #3AA3A9
square
#783AA9 #A9413A #6BA93A #3AA3A9
split-complementary
#783AA9 #A3A93A #3AA941
monochromatic
#371B4E #582A7B #783AA9 #965AC6 #B387D6

Accessibility & contrast

On white

7.05
#783AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#783AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA9#FFFFFF#000000##FFFFFF
##783AA91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#2159A7
Tritanopia (blue-blind)
#70516C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783aa9;
/* rgb */ color: rgb(120, 58, 169);
/* oklch */ color: oklch(48.3% 0.173 306.7);
Tailwind
colors: {
  custom: {
    50: '#a374c3',
    500: '#783aa9',
    950: '#000000',
  },
}
SCSS
$custom: #783aa9;
$custom-light: #a374c3;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa9",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 273.514,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.17312,
    "h": 306.7
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#783AA9
secondary
#9CC07F
accent
#D84F8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #783AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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