#783DB6#783DB6

#783DB6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.183 H 302.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#783DB6
RGBrgb(120, 61, 182)
HSLhsl(269, 50%, 48%)
HSVhsv(269, 66%, 71%)
CMYKcmyk(34.1%, 66.5%, 0%, 28.6%)
CIE-LABlab(39.08, 48.93, -54.41)
CIE-LCHlch(39.08, 73.18, 311.96°)
OKLaboklab(49.63% 0.0988 -0.1546)
OKLCHoklch(49.63% 0.183 302.6)
XYZxyz(17.8560, 10.7079, 45.3730)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB6 #7BB63D
analogous
#3D3FB6 #783DB6 #B43DB6
triadic
#783DB6 #B6783D #3DB678
tetradic
#783DB6 #B63D3F #7BB63D #3DB6B4
square
#783DB6 #B63D3F #7BB63D #3DB6B4
split-complementary
#783DB6 #B6B43D #3FB63D
monochromatic
#3C1E5A #5A2E88 #783DB6 #9765CB #B693DB

Accessibility & contrast

On white

6.68
#783DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#783DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DB6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB6#FFFFFF#000000##FFFFFF
##783DB61.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#085CB3
Tritanopia (blue-blind)
#6C5874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783db6;
/* rgb */ color: rgb(120, 61, 182);
/* oklch */ color: oklch(49.6% 0.183 302.6);
Tailwind
colors: {
  custom: {
    50: '#a476cd',
    500: '#783db6',
    950: '#000000',
  },
}
SCSS
$custom: #783db6;
$custom-light: #a476cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783db6",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 269.256,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.18348,
    "h": 302.6
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#783DB6
secondary
#A8C689
accent
#D94E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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