#783AAC#783AAC

#783AAC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.176 H 305.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#783AAC
RGBrgb(120, 58, 172)
HSLhsl(273, 50%, 45%)
HSVhsv(273, 66%, 67%)
CMYKcmyk(30.2%, 66.3%, 0%, 32.5%)
CIE-LABlab(37.84, 48.00, -50.50)
CIE-LCHlch(37.84, 69.67, 313.55°)
OKLaboklab(48.51% 0.1032 -0.1431)
OKLCHoklch(48.51% 0.176 305.8)
XYZxyz(16.7036, 9.9979, 40.0715)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AAC #6EAC3A
analogous
#3F3AAC #783AAC #AC3AA7
triadic
#783AAC #AC783A #3AAC78
tetradic
#783AAC #AC3F3A #6EAC3A #3AA7AC
square
#783AAC #AC3F3A #6EAC3A #3AA7AC
split-complementary
#783AAC #A7AC3A #3AAC3F
monochromatic
#381B50 #582B7E #783AAC #965BC8 #B489D7

Accessibility & contrast

On white

7.00
#783AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#783AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AAC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AAC#FFFFFF#000000##FFFFFF
##783AAC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#1C59A9
Tritanopia (blue-blind)
#6F536E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783aac;
/* rgb */ color: rgb(120, 58, 172);
/* oklch */ color: oklch(48.5% 0.176 305.8);
Tailwind
colors: {
  custom: {
    50: '#a374c5',
    500: '#783aac',
    950: '#000000',
  },
}
SCSS
$custom: #783aac;
$custom-light: #a374c5;
$custom-dark: #000000;
JSON
{
  "hex": "#783aac",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 172
  },
  "hsl": {
    "h": 272.632,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48508,
    "c": 0.17643,
    "h": 305.8
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#783AAC
secondary
#9EC280
accent
#D94F8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #783AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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