#783AC2#783AC2

#783AC2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.201 H 300.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#783AC2
RGBrgb(120, 58, 194)
HSLhsl(267, 54%, 49%)
HSVhsv(267, 70%, 76%)
CMYKcmyk(38.1%, 70.1%, 0%, 23.9%)
CIE-LABlab(39.44, 53.38, -60.89)
CIE-LCHlch(39.44, 80.97, 311.24°)
OKLaboklab(50.15% 0.1003 -0.1737)
OKLCHoklch(50.15% 0.201 300)
XYZxyz(18.9940, 10.9140, 52.1344)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC2 #84C23A
analogous
#3A40C2 #783AC2 #BC3AC2
triadic
#783AC2 #C2783A #3AC278
tetradic
#783AC2 #C23A40 #84C23A #3AC2BC
square
#783AC2 #C23A40 #84C23A #3AC2BC
split-complementary
#783AC2 #C2BC3A #40C23A
monochromatic
#3E1E64 #5B2C93 #783AC2 #9867D2 #B897E0

Accessibility & contrast

On white

6.60
#783AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#783AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AC2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC2#FFFFFF#000000##FFFFFF
##783AC21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#675B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783ac2;
/* rgb */ color: rgb(120, 58, 194);
/* oklch */ color: oklch(50.2% 0.201 300.0);
Tailwind
colors: {
  custom: {
    50: '#a575d5',
    500: '#783ac2',
    950: '#000000',
  },
}
SCSS
$custom: #783ac2;
$custom-light: #a575d5;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac2",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 267.353,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.20052,
    "h": 300
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#783AC2
secondary
#AFCB8D
accent
#DD4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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