#783BAD#783BAD

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

Color values

HEX#783BAD
RGBrgb(120, 59, 173)
HSLhsl(272, 49%, 45%)
HSVhsv(272, 66%, 68%)
CMYKcmyk(30.6%, 65.9%, 0%, 32.2%)
CIE-LABlab(38.09, 47.74, -50.69)
CIE-LCHlch(38.09, 69.63, 313.29°)
OKLaboklab(48.71% 0.1019 -0.1437)
OKLCHoklch(48.71% 0.176 305.3)
XYZxyz(16.8509, 10.1382, 40.5962)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BAD #70AD3B
analogous
#3F3BAD #783BAD #AD3BA9
triadic
#783BAD #AD783B #3BAD78
tetradic
#783BAD #AD3F3B #70AD3B #3BA9AD
square
#783BAD #AD3F3B #70AD3B #3BA9AD
split-complementary
#783BAD #A9AD3B #3BAD3F
monochromatic
#391C52 #582B7F #783BAD #965DC8 #B48BD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##783BAD#FFFFFF#000000##FFFFFF
##783BAD1.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)
#0058B0
Deuteranopia (green-blind)
#1C5AAA
Tritanopia (blue-blind)
#6F546F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783bad;
/* rgb */ color: rgb(120, 59, 173);
/* oklch */ color: oklch(48.7% 0.176 305.3);
Tailwind
colors: {
  custom: {
    50: '#a375c6',
    500: '#783bad',
    950: '#000000',
  },
}
SCSS
$custom: #783bad;
$custom-light: #a375c6;
$custom-dark: #000000;
JSON
{
  "hex": "#783bad",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 272.105,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.17616,
    "h": 305.3
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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