#783EAA#783EAA

#783EAA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.169 H 305.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#783EAA
RGBrgb(120, 62, 170)
HSLhsl(272, 47%, 45%)
HSVhsv(272, 64%, 67%)
CMYKcmyk(29.4%, 63.5%, 0%, 33.3%)
CIE-LABlab(38.45, 45.49, -48.33)
CIE-LCHlch(38.45, 66.37, 313.26°)
OKLaboklab(48.9% 0.0986 -0.1368)
OKLCHoklch(48.9% 0.169 305.8)
XYZxyz(16.7225, 10.3407, 39.1374)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EAA #70AA3E
analogous
#423EAA #783EAA #AA3EA6
triadic
#783EAA #AA783E #3EAA78
tetradic
#783EAA #AA423E #70AA3E #3EA6AA
square
#783EAA #AA423E #70AA3E #3EA6AA
split-complementary
#783EAA #A6AA3E #3EAA42
monochromatic
#391D50 #582E7D #783EAA #9660C5 #B48DD5

Accessibility & contrast

On white

6.84
#783EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#783EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EAA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EAA#FFFFFF#000000##FFFFFF
##783EAA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#6F546E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783eaa;
/* rgb */ color: rgb(120, 62, 170);
/* oklch */ color: oklch(48.9% 0.169 305.8);
Tailwind
colors: {
  custom: {
    50: '#a377c4',
    500: '#783eaa',
    950: '#000000',
  },
}
SCSS
$custom: #783eaa;
$custom-light: #a377c4;
$custom-dark: #000000;
JSON
{
  "hex": "#783eaa",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 272.222,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.16857,
    "h": 305.8
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#783EAA
secondary
#A0C084
accent
#D6528F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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