#783BB0#783BB0

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

Color values

HEX#783BB0
RGBrgb(120, 59, 176)
HSLhsl(271, 50%, 46%)
HSVhsv(271, 66%, 69%)
CMYKcmyk(31.8%, 66.5%, 0%, 31%)
CIE-LABlab(38.30, 48.47, -52.14)
CIE-LCHlch(38.30, 71.18, 312.91°)
OKLaboklab(48.93% 0.1016 -0.1479)
OKLCHoklch(48.93% 0.179 304.5)
XYZxyz(17.1444, 10.2557, 42.1422)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BB0 #73B03B
analogous
#3D3BB0 #783BB0 #B03BAD
triadic
#783BB0 #B0783B #3BB078
tetradic
#783BB0 #B03D3B #73B03B #3BADB0
square
#783BB0 #B03D3B #73B03B #3BADB0
split-complementary
#783BB0 #ADB03B #3BB03D
monochromatic
#391C54 #592C82 #783BB0 #965FC9 #B48DD9

Accessibility & contrast

On white

6.88
#783BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#783BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BB0
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BB0#FFFFFF#000000##FFFFFF
##783BB01.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#6E5570
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783bb0;
/* rgb */ color: rgb(120, 59, 176);
/* oklch */ color: oklch(48.9% 0.179 304.5);
Tailwind
colors: {
  custom: {
    50: '#a375c8',
    500: '#783bb0',
    950: '#000000',
  },
}
SCSS
$custom: #783bb0;
$custom-light: #a375c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783bb0",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 271.282,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.17949,
    "h": 304.5
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#783BB0
secondary
#A2C383
accent
#D94E91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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