#783FAA#783FAA

#783FAA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 305.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#783FAA
RGBrgb(120, 63, 170)
HSLhsl(272, 46%, 46%)
HSVhsv(272, 63%, 67%)
CMYKcmyk(29.4%, 62.9%, 0%, 33.3%)
CIE-LABlab(38.64, 44.96, -48.02)
CIE-LCHlch(38.64, 65.78, 313.12°)
OKLaboklab(49.04% 0.0973 -0.1359)
OKLCHoklch(49.04% 0.167 305.6)
XYZxyz(16.7774, 10.4505, 39.1557)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FAA #71AA3F
analogous
#433FAA #783FAA #AA3FA6
triadic
#783FAA #AA783F #3FAA78
tetradic
#783FAA #AA433F #71AA3F #3FA6AA
square
#783FAA #AA433F #71AA3F #3FA6AA
split-complementary
#783FAA #A6AA3F #3FAA43
monochromatic
#391E51 #582E7D #783FAA #9662C5 #B48ED5

Accessibility & contrast

On white

6.80
#783FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#783FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FAA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FAA#FFFFFF#000000##FFFFFF
##783FAA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#275BA8
Tritanopia (blue-blind)
#6F556E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783faa;
/* rgb */ color: rgb(120, 63, 170);
/* oklch */ color: oklch(49.0% 0.167 305.6);
Tailwind
colors: {
  custom: {
    50: '#a377c4',
    500: '#783faa',
    950: '#000000',
  },
}
SCSS
$custom: #783faa;
$custom-light: #a377c4;
$custom-dark: #000000;
JSON
{
  "hex": "#783faa",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 271.963,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.16713,
    "h": 305.6
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#783FAA
secondary
#A0C085
accent
#D65290
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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