#783AB5#783AB5

#783AB5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.186 H 303.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#783AB5
RGBrgb(120, 58, 181)
HSLhsl(270, 51%, 47%)
HSVhsv(270, 68%, 71%)
CMYKcmyk(33.7%, 68%, 0%, 29%)
CIE-LABlab(38.47, 50.18, -54.81)
CIE-LCHlch(38.47, 74.31, 312.47°)
OKLaboklab(49.16% 0.1022 -0.1558)
OKLCHoklch(49.16% 0.186 303.3)
XYZxyz(17.5973, 10.3554, 44.7788)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AB5 #77B53A
analogous
#3B3AB5 #783AB5 #B53AB5
triadic
#783AB5 #B5783A #3AB578
tetradic
#783AB5 #B53B3A #77B53A #3AB5B5
square
#783AB5 #B53B3A #77B53A #3AB5B5
split-complementary
#783AB5 #B5B53A #3AB53B
monochromatic
#3B1C58 #592B87 #783AB5 #9760CC #B58EDB

Accessibility & contrast

On white

6.84
#783AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#783AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AB5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AB5#FFFFFF#000000##FFFFFF
##783AB51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#6C5673
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783ab5;
/* rgb */ color: rgb(120, 58, 181);
/* oklch */ color: oklch(49.2% 0.186 303.3);
Tailwind
colors: {
  custom: {
    50: '#a475cc',
    500: '#783ab5',
    950: '#000000',
  },
}
SCSS
$custom: #783ab5;
$custom-light: #a475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#783ab5",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 270.244,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.18632,
    "h": 303.3
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#783AB5
secondary
#A5C685
accent
#DB4D93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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