#783AAF#783AAF

#783AAF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.180 H 304.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#783AAF
RGBrgb(120, 58, 175)
HSLhsl(272, 50%, 46%)
HSVhsv(272, 67%, 69%)
CMYKcmyk(31.4%, 66.9%, 0%, 31.4%)
CIE-LABlab(38.05, 48.72, -51.95)
CIE-LCHlch(38.05, 71.22, 313.17°)
OKLaboklab(48.72% 0.1029 -0.1474)
OKLCHoklch(48.72% 0.18 304.9)
XYZxyz(16.9949, 10.1144, 41.6061)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AAF #71AF3A
analogous
#3D3AAF #783AAF #AF3AAB
triadic
#783AAF #AF783A #3AAF78
tetradic
#783AAF #AF3D3A #71AF3A #3AABAF
square
#783AAF #AF3D3A #71AF3A #3AABAF
split-complementary
#783AAF #ABAF3A #3AAF3D
monochromatic
#391C53 #582B81 #783AAF #965DC9 #B48BD9

Accessibility & contrast

On white

6.95
#783AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#783AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AAF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AAF#FFFFFF#000000##FFFFFF
##783AAF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#155AAC
Tritanopia (blue-blind)
#6E546F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783aaf;
/* rgb */ color: rgb(120, 58, 175);
/* oklch */ color: oklch(48.7% 0.180 304.9);
Tailwind
colors: {
  custom: {
    50: '#a374c8',
    500: '#783aaf',
    950: '#000000',
  },
}
SCSS
$custom: #783aaf;
$custom-light: #a374c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783aaf",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 271.795,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.17972,
    "h": 304.9
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#783AAF
secondary
#A0C382
accent
#DA4E90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #783AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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