#783AC5#783AC5

#783AC5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.204 H 299.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#783AC5
RGBrgb(120, 58, 197)
HSLhsl(267, 55%, 50%)
HSVhsv(267, 71%, 77%)
CMYKcmyk(39.1%, 70.6%, 0%, 22.7%)
CIE-LABlab(39.66, 54.12, -62.26)
CIE-LCHlch(39.66, 82.50, 311.00°)
OKLaboklab(50.39% 0.0997 -0.1777)
OKLCHoklch(50.39% 0.204 299.3)
XYZxyz(19.3343, 11.0502, 53.9268)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC5 #87C53A
analogous
#3A41C5 #783AC5 #BE3AC5
triadic
#783AC5 #C5783A #3AC578
tetradic
#783AC5 #C53A41 #87C53A #3AC5BE
square
#783AC5 #C53A41 #87C53A #3AC5BE
split-complementary
#783AC5 #C5BE3A #41C53A
monochromatic
#3E1E66 #5B2C96 #783AC5 #9869D3 #B999E1

Accessibility & contrast

On white

6.54
#783AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#783AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AC5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC5#FFFFFF#000000##FFFFFF
##783AC51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#665C7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783ac5;
/* rgb */ color: rgb(120, 58, 197);
/* oklch */ color: oklch(50.4% 0.204 299.3);
Tailwind
colors: {
  custom: {
    50: '#a575d8',
    500: '#783ac5',
    950: '#000000',
  },
}
SCSS
$custom: #783ac5;
$custom-light: #a575d8;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac5",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 266.763,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.20379,
    "h": 299.3
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#783AC5
secondary
#B1CD8E
accent
#DE4A9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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