#783BD3#783BD3

#783BD3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.218 H 296.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#783BD3
RGBrgb(120, 59, 211)
HSLhsl(264, 63%, 53%)
HSVhsv(264, 72%, 83%)
CMYKcmyk(43.1%, 72%, 0%, 17.3%)
CIE-LABlab(40.93, 57.17, -68.31)
CIE-LCHlch(40.93, 89.08, 309.93°)
OKLaboklab(51.63% 0.0961 -0.1955)
OKLCHoklch(51.63% 0.218 296.2)
XYZxyz(21.0644, 11.8237, 62.7878)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BD3 #96D33B
analogous
#3B4AD3 #783BD3 #C43BD3
triadic
#783BD3 #D3783B #3BD378
tetradic
#783BD3 #D33B4A #96D33B #3BD3C4
square
#783BD3 #D33B4A #96D33B #3BD3C4
split-complementary
#783BD3 #D3C43B #4AD33B
monochromatic
#411B79 #5B26AB #783BD3 #9A6DDE #BD9FE9

Accessibility & contrast

On white

6.24
#783BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#783BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BD3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BD3#FFFFFF#000000##FFFFFF
##783BD31.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#606284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783bd3;
/* rgb */ color: rgb(120, 59, 211);
/* oklch */ color: oklch(51.6% 0.218 296.2);
Tailwind
colors: {
  custom: {
    50: '#a776e2',
    500: '#783bd3',
    950: '#000000',
  },
}
SCSS
$custom: #783bd3;
$custom-light: #a776e2;
$custom-dark: #000000;
JSON
{
  "hex": "#783bd3",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 264.079,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.2178,
    "h": 296.2
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#783BD3
secondary
#BBD694
accent
#E641A4
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #783BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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