#783BCA#783BCA

#783BCA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.208 H 298.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#783BCA
RGBrgb(120, 59, 202)
HSLhsl(266, 57%, 51%)
HSVhsv(266, 71%, 79%)
CMYKcmyk(40.6%, 70.8%, 0%, 20.8%)
CIE-LABlab(40.22, 54.90, -64.27)
CIE-LCHlch(40.22, 84.52, 310.51°)
OKLaboklab(50.91% 0.0979 -0.1836)
OKLCHoklch(50.91% 0.208 298.1)
XYZxyz(19.9676, 11.3850, 57.0112)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BCA #8DCA3B
analogous
#3B45CA #783BCA #BF3BCA
triadic
#783BCA #CA783B #3BCA78
tetradic
#783BCA #CA3B45 #8DCA3B #3BCABF
square
#783BCA #CA3B45 #8DCA3B #3BCABF
split-complementary
#783BCA #CABF3B #45CA3B
monochromatic
#3F1E6D #5B2B9D #783BCA #996BD7 #BA9BE4

Accessibility & contrast

On white

6.41
#783BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783BCA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BCA#FFFFFF#000000##FFFFFF
##783BCA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#645E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783bca;
/* rgb */ color: rgb(120, 59, 202);
/* oklch */ color: oklch(50.9% 0.208 298.1);
Tailwind
colors: {
  custom: {
    50: '#a676db',
    500: '#783bca',
    950: '#000000',
  },
}
SCSS
$custom: #783bca;
$custom-light: #a676db;
$custom-dark: #000000;
JSON
{
  "hex": "#783bca",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 265.594,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.20805,
    "h": 298.1
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#783BCA
secondary
#B5D091
accent
#E1479F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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