#783CAE#783CAE

#783CAE is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.176 H 304.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#783CAE
RGBrgb(120, 60, 174)
HSLhsl(272, 49%, 46%)
HSVhsv(272, 66%, 68%)
CMYKcmyk(31%, 65.5%, 0%, 31.8%)
CIE-LABlab(38.34, 47.48, -50.88)
CIE-LCHlch(38.34, 69.59, 313.02°)
OKLaboklab(48.91% 0.1007 -0.1442)
OKLCHoklch(48.91% 0.176 304.9)
XYZxyz(16.9999, 10.2809, 41.1250)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CAE #72AE3C
analogous
#3F3CAE #783CAE #AE3CAB
triadic
#783CAE #AE783C #3CAE78
tetradic
#783CAE #AE3F3C #72AE3C #3CABAE
square
#783CAE #AE3F3C #72AE3C #3CABAE
split-complementary
#783CAE #ABAE3C #3CAE3F
monochromatic
#391D53 #592C80 #783CAE #965FC8 #B48DD8

Accessibility & contrast

On white

6.87
#783CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#783CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CAE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CAE#FFFFFF#000000##FFFFFF
##783CAE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#6E5570
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783cae;
/* rgb */ color: rgb(120, 60, 174);
/* oklch */ color: oklch(48.9% 0.176 304.9);
Tailwind
colors: {
  custom: {
    50: '#a376c7',
    500: '#783cae',
    950: '#000000',
  },
}
SCSS
$custom: #783cae;
$custom-light: #a376c7;
$custom-dark: #000000;
JSON
{
  "hex": "#783cae",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 271.579,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.17589,
    "h": 304.9
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#783CAE
secondary
#A1C283
accent
#D85090
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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