#783AB7#783AB7

#783AB7 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.189 H 302.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#783AB7
RGBrgb(120, 58, 183)
HSLhsl(270, 52%, 47%)
HSVhsv(270, 68%, 72%)
CMYKcmyk(34.4%, 68.3%, 0%, 28.2%)
CIE-LABlab(38.62, 50.67, -55.76)
CIE-LCHlch(38.62, 75.34, 312.26°)
OKLaboklab(49.31% 0.1019 -0.1586)
OKLCHoklch(49.31% 0.189 302.7)
XYZxyz(17.8040, 10.4381, 45.8673)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AB7 #79B73A
analogous
#3A3BB7 #783AB7 #B73AB7
triadic
#783AB7 #B7783A #3AB778
tetradic
#783AB7 #B73A3B #79B73A #3AB7B7
square
#783AB7 #B73A3B #79B73A #3AB7B7
split-complementary
#783AB7 #B7B73A #3BB73A
monochromatic
#3B1D5A #5A2B89 #783AB7 #9761CD #B590DC

Accessibility & contrast

On white

6.80
#783AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#783AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AB7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AB7#FFFFFF#000000##FFFFFF
##783AB71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#6B5774
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783ab7;
/* rgb */ color: rgb(120, 58, 183);
/* oklch */ color: oklch(49.3% 0.189 302.7);
Tailwind
colors: {
  custom: {
    50: '#a475cd',
    500: '#783ab7',
    950: '#000000',
  },
}
SCSS
$custom: #783ab7;
$custom-light: #a475cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783ab7",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 269.76,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.18851,
    "h": 302.7
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#783AB7
secondary
#A7C786
accent
#DB4C94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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