#783BBA#783BBA

#783BBA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.191 H 301.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#783BBA
RGBrgb(120, 59, 186)
HSLhsl(269, 52%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(35.5%, 68.3%, 0%, 27.1%)
CIE-LABlab(39.01, 50.91, -56.88)
CIE-LCHlch(39.01, 76.34, 311.83°)
OKLaboklab(49.67% 0.1005 -0.1619)
OKLCHoklch(49.67% 0.191 301.8)
XYZxyz(18.1705, 10.6661, 47.5463)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BBA #7DBA3B
analogous
#3B3DBA #783BBA #B73BBA
triadic
#783BBA #BA783B #3BBA78
tetradic
#783BBA #BA3B3D #7DBA3B #3BBAB7
square
#783BBA #BA3B3D #7DBA3B #3BBAB7
split-complementary
#783BBA #BAB73B #3DBA3B
monochromatic
#3C1E5D #5A2C8C #783BBA #9764CE #B693DD

Accessibility & contrast

On white

6.70
#783BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#783BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BBA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BBA#FFFFFF#000000##FFFFFF
##783BBA1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#6A5876
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783bba;
/* rgb */ color: rgb(120, 59, 186);
/* oklch */ color: oklch(49.7% 0.191 301.8);
Tailwind
colors: {
  custom: {
    50: '#a475d0',
    500: '#783bba',
    950: '#000000',
  },
}
SCSS
$custom: #783bba;
$custom-light: #a475d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783bba",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 268.819,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49665,
    "c": 0.19053,
    "h": 301.8
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#783BBA
secondary
#AAC889
accent
#DB4D97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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