#783FAC#783FAC

#783FAC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.169 H 305.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#783FAC
RGBrgb(120, 63, 172)
HSLhsl(271, 46%, 46%)
HSVhsv(271, 63%, 67%)
CMYKcmyk(30.2%, 63.4%, 0%, 32.5%)
CIE-LABlab(38.77, 45.45, -49.00)
CIE-LCHlch(38.77, 66.83, 312.85°)
OKLaboklab(49.18% 0.0972 -0.1387)
OKLCHoklch(49.18% 0.169 305)
XYZxyz(16.9680, 10.5267, 40.1597)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FAC #73AC3F
analogous
#413FAC #783FAC #AC3FA9
triadic
#783FAC #AC783F #3FAC78
tetradic
#783FAC #AC413F #73AC3F #3FA9AC
square
#783FAC #AC413F #73AC3F #3FA9AC
split-complementary
#783FAC #A9AC3F #3FAC41
monochromatic
#391E52 #592F7F #783FAC #9663C6 #B48FD6

Accessibility & contrast

On white

6.76
#783FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#783FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FAC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FAC#FFFFFF#000000##FFFFFF
##783FAC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#245BAA
Tritanopia (blue-blind)
#6F5670
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783fac;
/* rgb */ color: rgb(120, 63, 172);
/* oklch */ color: oklch(49.2% 0.169 305.0);
Tailwind
colors: {
  custom: {
    50: '#a377c5',
    500: '#783fac',
    950: '#000000',
  },
}
SCSS
$custom: #783fac;
$custom-light: #a377c5;
$custom-dark: #000000;
JSON
{
  "hex": "#783fac",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 271.376,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.16941,
    "h": 305
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#783FAC
secondary
#A2C186
accent
#D65291
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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