#783AA2#783AA2

#783AA2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.165 H 308.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#783AA2
RGBrgb(120, 58, 162)
HSLhsl(276, 47%, 43%)
HSVhsv(276, 64%, 64%)
CMYKcmyk(25.9%, 64.2%, 0%, 36.5%)
CIE-LABlab(37.17, 45.63, -45.60)
CIE-LCHlch(37.17, 64.51, 315.02°)
OKLaboklab(47.81% 0.1039 -0.1287)
OKLCHoklch(47.81% 0.165 308.9)
XYZxyz(15.7791, 9.6281, 35.2026)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA2 #64A23A
analogous
#443AA2 #783AA2 #A23A98
triadic
#783AA2 #A2783A #3AA278
tetradic
#783AA2 #A2443A #64A23A #3A98A2
square
#783AA2 #A2443A #64A23A #3A98A2
split-complementary
#783AA2 #98A23A #3AA244
monochromatic
#351A48 #572A75 #783AA2 #9757C3 #B384D3

Accessibility & contrast

On white

7.18
#783AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#783AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA2#FFFFFF#000000##FFFFFF
##783AA21.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#2A58A0
Tritanopia (blue-blind)
#724F69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783aa2;
/* rgb */ color: rgb(120, 58, 162);
/* oklch */ color: oklch(47.8% 0.165 308.9);
Tailwind
colors: {
  custom: {
    50: '#a274be',
    500: '#783aa2',
    950: '#000000',
  },
}
SCSS
$custom: #783aa2;
$custom-light: #a274be;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa2",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 275.769,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.1654,
    "h": 308.9
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#783AA2
secondary
#96BD7B
accent
#D75187
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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