#783AB2#783AB2

#783AB2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.183 H 304.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#783AB2
RGBrgb(120, 58, 178)
HSLhsl(271, 51%, 46%)
HSVhsv(271, 67%, 70%)
CMYKcmyk(32.6%, 67.4%, 0%, 30.2%)
CIE-LABlab(38.26, 49.45, -53.38)
CIE-LCHlch(38.26, 72.77, 312.81°)
OKLaboklab(48.94% 0.1025 -0.1516)
OKLCHoklch(48.94% 0.183 304.1)
XYZxyz(17.2928, 10.2336, 43.1751)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AB2 #74B23A
analogous
#3C3AB2 #783AB2 #B23AB0
triadic
#783AB2 #B2783A #3AB278
tetradic
#783AB2 #B23C3A #74B23A #3AB0B2
square
#783AB2 #B23C3A #74B23A #3AB0B2
split-complementary
#783AB2 #B0B23A #3AB23C
monochromatic
#3A1C56 #592B84 #783AB2 #965FCB #B48DDA

Accessibility & contrast

On white

6.89
#783AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783AB2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AB2#FFFFFF#000000##FFFFFF
##783AB21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0D5AAF
Tritanopia (blue-blind)
#6D5571
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783ab2;
/* rgb */ color: rgb(120, 58, 178);
/* oklch */ color: oklch(48.9% 0.183 304.1);
Tailwind
colors: {
  custom: {
    50: '#a375ca',
    500: '#783ab2',
    950: '#000000',
  },
}
SCSS
$custom: #783ab2;
$custom-light: #a375ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783ab2",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 271,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.18302,
    "h": 304.1
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#783AB2
secondary
#A3C483
accent
#DA4D92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #783AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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