#783ED3#783ED3

#783ED3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.214 H 295.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#783ED3
RGBrgb(120, 62, 211)
HSLhsl(263, 63%, 54%)
HSVhsv(263, 71%, 83%)
CMYKcmyk(43.1%, 70.6%, 0%, 17.3%)
CIE-LABlab(41.44, 55.75, -67.48)
CIE-LCHlch(41.44, 87.54, 309.56°)
OKLaboklab(51.99% 0.0933 -0.1931)
OKLCHoklch(51.99% 0.214 295.8)
XYZxyz(21.2231, 12.1410, 62.8406)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ED3 #99D33E
analogous
#3E4ED3 #783ED3 #C33ED3
triadic
#783ED3 #D3783E #3ED378
tetradic
#783ED3 #D33E4E #99D33E #3ED3C3
square
#783ED3 #D33E4E #99D33E #3ED3C3
split-complementary
#783ED3 #D3C33E #4ED33E
monochromatic
#411C7B #5B27AC #783ED3 #9B70DE #BEA2EA

Accessibility & contrast

On white

6.13
#783ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#783ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ED3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ED3#FFFFFF#000000##FFFFFF
##783ED31.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#5F6484
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783ed3;
/* rgb */ color: rgb(120, 62, 211);
/* oklch */ color: oklch(52.0% 0.214 295.8);
Tailwind
colors: {
  custom: {
    50: '#a678e2',
    500: '#783ed3',
    950: '#000000',
  },
}
SCSS
$custom: #783ed3;
$custom-light: #a678e2;
$custom-dark: #000000;
JSON
{
  "hex": "#783ed3",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 263.356,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.21443,
    "h": 295.8
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#783ED3
secondary
#BDD696
accent
#E642A6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #783ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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