#783BD6#783BD6

#783BD6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.221 H 295.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#783BD6
RGBrgb(120, 59, 214)
HSLhsl(264, 65%, 54%)
HSVhsv(264, 72%, 84%)
CMYKcmyk(43.9%, 72.4%, 0%, 16.1%)
CIE-LABlab(41.18, 57.93, -69.64)
CIE-LCHlch(41.18, 90.58, 309.76°)
OKLaboklab(51.88% 0.0954 -0.1994)
OKLCHoklch(51.88% 0.221 295.6)
XYZxyz(21.4440, 11.9755, 64.7870)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BD6 #99D63B
analogous
#3B4BD6 #783BD6 #C53BD6
triadic
#783BD6 #D6783B #3BD678
tetradic
#783BD6 #D63B4B #99D63B #3BD6C5
square
#783BD6 #D63B4B #99D63B #3BD6C5
split-complementary
#783BD6 #D6C53B #4BD63B
monochromatic
#411A7D #5B25AF #783BD6 #9B6EE1 #BEA0EB

Accessibility & contrast

On white

6.19
#783BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#783BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BD6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BD6#FFFFFF#000000##FFFFFF
##783BD61.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#5E6385
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #783bd6;
/* rgb */ color: rgb(120, 59, 214);
/* oklch */ color: oklch(51.9% 0.221 295.6);
Tailwind
colors: {
  custom: {
    50: '#a776e4',
    500: '#783bd6',
    950: '#000000',
  },
}
SCSS
$custom: #783bd6;
$custom-light: #a776e4;
$custom-dark: #000000;
JSON
{
  "hex": "#783bd6",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 263.613,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51879,
    "c": 0.22103,
    "h": 295.6
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#783BD6
secondary
#BDD895
accent
#E83FA6
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #783BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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