#783CA6#783CA6

#783CA6 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.167 H 307.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#783CA6
RGBrgb(120, 60, 166)
HSLhsl(274, 47%, 44%)
HSVhsv(274, 64%, 65%)
CMYKcmyk(27.7%, 63.9%, 0%, 34.9%)
CIE-LABlab(37.80, 45.56, -46.98)
CIE-LCHlch(37.80, 65.44, 314.12°)
OKLaboklab(48.35% 0.1012 -0.1328)
OKLCHoklch(48.35% 0.167 307.3)
XYZxyz(16.2431, 9.9782, 37.1393)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA6 #6AA63C
analogous
#433CA6 #783CA6 #A63C9F
triadic
#783CA6 #A6783C #3CA678
tetradic
#783CA6 #A6433C #6AA63C #3C9FA6
square
#783CA6 #A6433C #6AA63C #3C9FA6
split-complementary
#783CA6 #9FA63C #3CA643
monochromatic
#371C4C #582C79 #783CA6 #975BC4 #B388D4

Accessibility & contrast

On white

7.01
#783CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783CA6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA6#FFFFFF#000000##FFFFFF
##783CA61.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#71526B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ca6;
/* rgb */ color: rgb(120, 60, 166);
/* oklch */ color: oklch(48.4% 0.167 307.3);
Tailwind
colors: {
  custom: {
    50: '#a275c1',
    500: '#783ca6',
    950: '#000000',
  },
}
SCSS
$custom: #783ca6;
$custom-light: #a275c1;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca6",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 273.962,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48353,
    "c": 0.16696,
    "h": 307.3
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#783CA6
secondary
#9BBE7F
accent
#D7518B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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