#783DC6#783DC6

#783DC6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.201 H 298.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#783DC6
RGBrgb(120, 61, 198)
HSLhsl(266, 55%, 51%)
HSVhsv(266, 69%, 78%)
CMYKcmyk(39.4%, 69.2%, 0%, 22.4%)
CIE-LABlab(40.26, 52.93, -61.88)
CIE-LCHlch(40.26, 81.43, 310.54°)
OKLaboklab(50.84% 0.0966 -0.1766)
OKLCHoklch(50.84% 0.201 298.7)
XYZxyz(19.6049, 11.4075, 54.5841)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DC6 #8BC63D
analogous
#3D46C6 #783DC6 #BC3DC6
triadic
#783DC6 #C6783D #3DC678
tetradic
#783DC6 #C63D46 #8BC63D #3DC6BC
square
#783DC6 #C63D46 #8BC63D #3DC6BC
split-complementary
#783DC6 #C6BC3D #46C63D
monochromatic
#3F1F6A #5B2D99 #783DC6 #996CD4 #BA9CE2

Accessibility & contrast

On white

6.40
#783DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#783DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DC6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DC6#FFFFFF#000000##FFFFFF
##783DC61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#655E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783dc6;
/* rgb */ color: rgb(120, 61, 198);
/* oklch */ color: oklch(50.8% 0.201 298.7);
Tailwind
colors: {
  custom: {
    50: '#a577d8',
    500: '#783dc6',
    950: '#000000',
  },
}
SCSS
$custom: #783dc6;
$custom-light: #a577d8;
$custom-dark: #000000;
JSON
{
  "hex": "#783dc6",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 265.839,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.20128,
    "h": 298.7
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#783DC6
secondary
#B4CE91
accent
#DE4A9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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