#783CA0#783CA0

#783CA0 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.160 H 309.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#783CA0
RGBrgb(120, 60, 160)
HSLhsl(276, 45%, 43%)
HSVhsv(276, 63%, 63%)
CMYKcmyk(25%, 62.5%, 0%, 37.3%)
CIE-LABlab(37.41, 44.14, -44.00)
CIE-LCHlch(37.41, 62.33, 315.09°)
OKLaboklab(47.95% 0.1014 -0.1241)
OKLCHoklch(47.95% 0.16 309.3)
XYZxyz(15.7055, 9.7631, 34.3080)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA0 #64A03C
analogous
#463CA0 #783CA0 #A03C96
triadic
#783CA0 #A0783C #3CA078
tetradic
#783CA0 #A0463C #64A03C #3C96A0
square
#783CA0 #A0463C #64A03C #3C96A0
split-complementary
#783CA0 #96A03C #3CA046
monochromatic
#351B47 #572B73 #783CA0 #9759C1 #B385D1

Accessibility & contrast

On white

7.11
#783CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#783CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783CA0
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA0#FFFFFF#000000##FFFFFF
##783CA01.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D55A3
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#725068
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783ca0;
/* rgb */ color: rgb(120, 60, 160);
/* oklch */ color: oklch(47.9% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#a275bd',
    500: '#783ca0',
    950: '#000000',
  },
}
SCSS
$custom: #783ca0;
$custom-light: #a275bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca0",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 276,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.16025,
    "h": 309.3
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#783CA0
secondary
#96BB7C
accent
#D55387
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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