#783CA4#783CA4

#783CA4 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.165 H 308.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#783CA4
RGBrgb(120, 60, 164)
HSLhsl(275, 46%, 44%)
HSVhsv(275, 63%, 64%)
CMYKcmyk(26.8%, 63.4%, 0%, 35.7%)
CIE-LABlab(37.67, 45.08, -45.99)
CIE-LCHlch(37.67, 64.40, 314.43°)
OKLaboklab(48.22% 0.1013 -0.1299)
OKLCHoklch(48.22% 0.165 308)
XYZxyz(16.0611, 9.9053, 36.1806)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA4 #68A43C
analogous
#443CA4 #783CA4 #A43C9C
triadic
#783CA4 #A4783C #3CA478
tetradic
#783CA4 #A4443C #68A43C #3C9CA4
square
#783CA4 #A4443C #68A43C #3C9CA4
split-complementary
#783CA4 #9CA43C #3CA444
monochromatic
#361B4A #572C77 #783CA4 #975AC3 #B387D3

Accessibility & contrast

On white

7.04
#783CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#783CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783CA4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA4#FFFFFF#000000##FFFFFF
##783CA41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#2A59A2
Tritanopia (blue-blind)
#71516A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ca4;
/* rgb */ color: rgb(120, 60, 164);
/* oklch */ color: oklch(48.2% 0.165 308.0);
Tailwind
colors: {
  custom: {
    50: '#a275c0',
    500: '#783ca4',
    950: '#000000',
  },
}
SCSS
$custom: #783ca4;
$custom-light: #a275c0;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca4",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 274.615,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.16472,
    "h": 308
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#783CA4
secondary
#99BD7E
accent
#D6528A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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