#783EAC#783EAC

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

Color values

HEX#783EAC
RGBrgb(120, 62, 172)
HSLhsl(272, 47%, 46%)
HSVhsv(272, 64%, 67%)
CMYKcmyk(30.2%, 64%, 0%, 32.5%)
CIE-LABlab(38.58, 45.97, -49.30)
CIE-LCHlch(38.58, 67.41, 313.00°)
OKLaboklab(49.04% 0.0984 -0.1396)
OKLCHoklch(49.04% 0.171 305.2)
XYZxyz(16.9131, 10.4170, 40.1414)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EAC #72AC3E
analogous
#413EAC #783EAC #AC3EA9
triadic
#783EAC #AC783E #3EAC78
tetradic
#783EAC #AC413E #72AC3E #3EA9AC
square
#783EAC #AC413E #72AC3E #3EA9AC
split-complementary
#783EAC #A9AC3E #3EAC41
monochromatic
#391E52 #592E7F #783EAC #9661C6 #B48ED6

Accessibility & contrast

On white

6.81
#783EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#783EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EAC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EAC#FFFFFF#000000##FFFFFF
##783EAC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#235BAA
Tritanopia (blue-blind)
#6F556F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783eac;
/* rgb */ color: rgb(120, 62, 172);
/* oklch */ color: oklch(49.0% 0.171 305.2);
Tailwind
colors: {
  custom: {
    50: '#a377c5',
    500: '#783eac',
    950: '#000000',
  },
}
SCSS
$custom: #783eac;
$custom-light: #a377c5;
$custom-dark: #000000;
JSON
{
  "hex": "#783eac",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 271.636,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.17084,
    "h": 305.2
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#783EAC
secondary
#A1C185
accent
#D75190
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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