#783BAE#783BAE

#783BAE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.177 H 305.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#783BAE
RGBrgb(120, 59, 174)
HSLhsl(272, 49%, 46%)
HSVhsv(272, 66%, 68%)
CMYKcmyk(31%, 66.1%, 0%, 31.8%)
CIE-LABlab(38.16, 47.98, -51.17)
CIE-LCHlch(38.16, 70.15, 313.16°)
OKLaboklab(48.78% 0.1018 -0.1451)
OKLCHoklch(48.78% 0.177 305.1)
XYZxyz(16.9480, 10.1771, 41.1077)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BAE #71AE3B
analogous
#3E3BAE #783BAE #AE3BAA
triadic
#783BAE #AE783B #3BAE78
tetradic
#783BAE #AE3E3B #71AE3B #3BAAAE
square
#783BAE #AE3E3B #71AE3B #3BAAAE
split-complementary
#783BAE #AAAE3B #3BAE3E
monochromatic
#391C53 #582C80 #783BAE #965EC8 #B48CD8

Accessibility & contrast

On white

6.92
#783BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#783BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BAE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BAE#FFFFFF#000000##FFFFFF
##783BAE1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#1A5AAB
Tritanopia (blue-blind)
#6E546F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783bae;
/* rgb */ color: rgb(120, 59, 174);
/* oklch */ color: oklch(48.8% 0.177 305.1);
Tailwind
colors: {
  custom: {
    50: '#a375c7',
    500: '#783bae',
    950: '#000000',
  },
}
SCSS
$custom: #783bae;
$custom-light: #a375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#783bae",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 271.826,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.17727,
    "h": 305.1
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#783BAE
secondary
#A0C282
accent
#D94F90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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