#783AC4#783AC4

#783AC4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.203 H 299.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#783AC4
RGBrgb(120, 58, 196)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 77%)
CMYKcmyk(38.8%, 70.4%, 0%, 23.1%)
CIE-LABlab(39.59, 53.87, -61.81)
CIE-LCHlch(39.59, 81.99, 311.08°)
OKLaboklab(50.31% 0.0999 -0.1764)
OKLCHoklch(50.31% 0.203 299.5)
XYZxyz(19.2201, 11.0045, 53.3253)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC4 #86C43A
analogous
#3A41C4 #783AC4 #BD3AC4
triadic
#783AC4 #C4783A #3AC478
tetradic
#783AC4 #C43A41 #86C43A #3AC4BD
square
#783AC4 #C43A41 #86C43A #3AC4BD
split-complementary
#783AC4 #C4BD3A #41C43A
monochromatic
#3E1E66 #5B2C95 #783AC4 #9869D3 #B998E0

Accessibility & contrast

On white

6.56
#783AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#783AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AC4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC4#FFFFFF#000000##FFFFFF
##783AC41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#665C7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783ac4;
/* rgb */ color: rgb(120, 58, 196);
/* oklch */ color: oklch(50.3% 0.203 299.5);
Tailwind
colors: {
  custom: {
    50: '#a575d7',
    500: '#783ac4',
    950: '#000000',
  },
}
SCSS
$custom: #783ac4;
$custom-light: #a575d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac4",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 266.957,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.20269,
    "h": 299.5
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#783AC4
secondary
#B0CC8E
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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