#783AA1#783AA1

#783AA1 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.164 H 309.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#783AA1
RGBrgb(120, 58, 161)
HSLhsl(276, 47%, 43%)
HSVhsv(276, 64%, 63%)
CMYKcmyk(25.5%, 64%, 0%, 36.9%)
CIE-LABlab(37.10, 45.40, -45.10)
CIE-LCHlch(37.10, 64.00, 315.19°)
OKLaboklab(47.74% 0.1039 -0.1273)
OKLCHoklch(47.74% 0.164 309.2)
XYZxyz(15.6905, 9.5927, 34.7363)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA1 #63A13A
analogous
#453AA1 #783AA1 #A13A96
triadic
#783AA1 #A1783A #3AA178
tetradic
#783AA1 #A1453A #63A13A #3A96A1
square
#783AA1 #A1453A #63A13A #3A96A1
split-complementary
#783AA1 #96A13A #3AA145
monochromatic
#351A47 #562A74 #783AA1 #9756C2 #B383D2

Accessibility & contrast

On white

7.20
#783AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#783AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA1#FFFFFF#000000##FFFFFF
##783AA11.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A4
Deuteranopia (green-blind)
#2B589F
Tritanopia (blue-blind)
#724F68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783aa1;
/* rgb */ color: rgb(120, 58, 161);
/* oklch */ color: oklch(47.7% 0.164 309.2);
Tailwind
colors: {
  custom: {
    50: '#a274bd',
    500: '#783aa1',
    950: '#000000',
  },
}
SCSS
$custom: #783aa1;
$custom-light: #a274bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa1",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 276.117,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.1643,
    "h": 309.2
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#783AA1
secondary
#95BC7B
accent
#D75186
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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