#783CAA#783CAA

#783CAA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.171 H 306.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#783CAA
RGBrgb(120, 60, 170)
HSLhsl(273, 48%, 45%)
HSVhsv(273, 65%, 67%)
CMYKcmyk(29.4%, 64.7%, 0%, 33.3%)
CIE-LABlab(38.07, 46.51, -48.94)
CIE-LCHlch(38.07, 67.52, 313.55°)
OKLaboklab(48.63% 0.101 -0.1385)
OKLCHoklch(48.63% 0.171 306.1)
XYZxyz(16.6157, 10.1272, 39.1018)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CAA #6EAA3C
analogous
#413CAA #783CAA #AA3CA5
triadic
#783CAA #AA783C #3CAA78
tetradic
#783CAA #AA413C #6EAA3C #3CA5AA
square
#783CAA #AA413C #6EAA3C #3CA5AA
split-complementary
#783CAA #A5AA3C #3CAA41
monochromatic
#381C50 #582C7D #783CAA #965DC6 #B48BD6

Accessibility & contrast

On white

6.94
#783CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#783CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CAA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CAA#FFFFFF#000000##FFFFFF
##783CAA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#6F536D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783caa;
/* rgb */ color: rgb(120, 60, 170);
/* oklch */ color: oklch(48.6% 0.171 306.1);
Tailwind
colors: {
  custom: {
    50: '#a375c4',
    500: '#783caa',
    950: '#000000',
  },
}
SCSS
$custom: #783caa;
$custom-light: #a375c4;
$custom-dark: #000000;
JSON
{
  "hex": "#783caa",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 272.727,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.17142,
    "h": 306.1
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#783CAA
secondary
#9EC081
accent
#D7508E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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