#783AB3#783AB3

#783AB3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.184 H 303.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#783AB3
RGBrgb(120, 58, 179)
HSLhsl(271, 51%, 46%)
HSVhsv(271, 68%, 70%)
CMYKcmyk(33%, 67.6%, 0%, 29.8%)
CIE-LABlab(38.33, 49.69, -53.86)
CIE-LCHlch(38.33, 73.28, 312.69°)
OKLaboklab(49.02% 0.1024 -0.153)
OKLCHoklch(49.02% 0.184 303.8)
XYZxyz(17.3936, 10.2739, 43.7058)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AB3 #75B33A
analogous
#3C3AB3 #783AB3 #B33AB2
triadic
#783AB3 #B3783A #3AB378
tetradic
#783AB3 #B33C3A #75B33A #3AB2B3
square
#783AB3 #B33C3A #75B33A #3AB2B3
split-complementary
#783AB3 #B2B33A #3AB33C
monochromatic
#3A1C57 #592B85 #783AB3 #965FCB #B58DDA

Accessibility & contrast

On white

6.87
#783AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#783AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AB3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AB3#FFFFFF#000000##FFFFFF
##783AB31.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#095AB0
Tritanopia (blue-blind)
#6D5572
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783ab3;
/* rgb */ color: rgb(120, 58, 179);
/* oklch */ color: oklch(49.0% 0.184 303.8);
Tailwind
colors: {
  custom: {
    50: '#a475ca',
    500: '#783ab3',
    950: '#000000',
  },
}
SCSS
$custom: #783ab3;
$custom-light: #a475ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783ab3",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 270.744,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.18412,
    "h": 303.8
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#783AB3
secondary
#A4C584
accent
#DB4D92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #783AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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