#783DB8#783DB8

#783DB8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.186 H 302.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#783DB8
RGBrgb(120, 61, 184)
HSLhsl(269, 50%, 48%)
HSVhsv(269, 67%, 72%)
CMYKcmyk(34.8%, 66.8%, 0%, 27.8%)
CIE-LABlab(39.23, 49.43, -55.36)
CIE-LCHlch(39.23, 74.22, 311.76°)
OKLaboklab(49.77% 0.0985 -0.1574)
OKLCHoklch(49.77% 0.186 302)
XYZxyz(18.0642, 10.7912, 46.4693)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB8 #7DB83D
analogous
#3D40B8 #783DB8 #B53DB8
triadic
#783DB8 #B8783D #3DB878
tetradic
#783DB8 #B83D40 #7DB83D #3DB8B5
square
#783DB8 #B83D40 #7DB83D #3DB8B5
split-complementary
#783DB8 #B8B53D #40B83D
monochromatic
#3C1F5C #5A2E8A #783DB8 #9766CC #B694DB

Accessibility & contrast

On white

6.65
#783DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#783DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DB8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB8#FFFFFF#000000##FFFFFF
##783DB81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#6B5975
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783db8;
/* rgb */ color: rgb(120, 61, 184);
/* oklch */ color: oklch(49.8% 0.186 302.0);
Tailwind
colors: {
  custom: {
    50: '#a476ce',
    500: '#783db8',
    950: '#000000',
  },
}
SCSS
$custom: #783db8;
$custom-light: #a476ce;
$custom-dark: #000000;
JSON
{
  "hex": "#783db8",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 268.78,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.18572,
    "h": 302
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#783DB8
secondary
#AAC78A
accent
#DA4E97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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