#783FAE#783FAE

#783FAE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.172 H 304.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#783FAE
RGBrgb(120, 63, 174)
HSLhsl(271, 47%, 46%)
HSVhsv(271, 64%, 68%)
CMYKcmyk(31%, 63.8%, 0%, 31.8%)
CIE-LABlab(38.91, 45.94, -49.97)
CIE-LCHlch(38.91, 67.88, 312.60°)
OKLaboklab(49.32% 0.0971 -0.1416)
OKLCHoklch(49.32% 0.172 304.4)
XYZxyz(17.1615, 10.6041, 41.1789)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FAE #75AE3F
analogous
#413FAE #783FAE #AE3FAD
triadic
#783FAE #AE783F #3FAE78
tetradic
#783FAE #AE413F #75AE3F #3FADAE
square
#783FAE #AE413F #75AE3F #3FADAE
split-complementary
#783FAE #ADAE3F #3FAE41
monochromatic
#3A1E54 #592F81 #783FAE #9664C7 #B590D7

Accessibility & contrast

On white

6.73
#783FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#783FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FAE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FAE#FFFFFF#000000##FFFFFF
##783FAE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#6E5671
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783fae;
/* rgb */ color: rgb(120, 63, 174);
/* oklch */ color: oklch(49.3% 0.172 304.4);
Tailwind
colors: {
  custom: {
    50: '#a377c7',
    500: '#783fae',
    950: '#000000',
  },
}
SCSS
$custom: #783fae;
$custom-light: #a377c7;
$custom-dark: #000000;
JSON
{
  "hex": "#783fae",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 270.811,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.17169,
    "h": 304.4
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#783FAE
secondary
#A4C287
accent
#D65192
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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