#783AA6#783AA6

#783AA6 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.170 H 307.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#783AA6
RGBrgb(120, 58, 166)
HSLhsl(274, 48%, 44%)
HSVhsv(274, 65%, 65%)
CMYKcmyk(27.7%, 65.1%, 0%, 34.9%)
CIE-LABlab(37.43, 46.58, -47.57)
CIE-LCHlch(37.43, 66.58, 314.39°)
OKLaboklab(48.08% 0.1036 -0.1345)
OKLCHoklch(48.08% 0.17 307.6)
XYZxyz(16.1403, 9.7726, 37.1050)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA6 #68A63A
analogous
#423AA6 #783AA6 #A63A9E
triadic
#783AA6 #A6783A #3AA678
tetradic
#783AA6 #A6423A #68A63A #3A9EA6
square
#783AA6 #A6423A #68A63A #3A9EA6
split-complementary
#783AA6 #9EA63A #3AA642
monochromatic
#361A4B #572A79 #783AA6 #9758C5 #B386D5

Accessibility & contrast

On white

7.11
#783AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#783AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA6#FFFFFF#000000##FFFFFF
##783AA61.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#2559A4
Tritanopia (blue-blind)
#71506B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783aa6;
/* rgb */ color: rgb(120, 58, 166);
/* oklch */ color: oklch(48.1% 0.170 307.6);
Tailwind
colors: {
  custom: {
    50: '#a374c1',
    500: '#783aa6',
    950: '#000000',
  },
}
SCSS
$custom: #783aa6;
$custom-light: #a374c1;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa6",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 274.444,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.16981,
    "h": 307.6
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#783AA6
secondary
#99BF7D
accent
#D8508A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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