#783ED2#783ED2

#783ED2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.213 H 296.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#783ED2
RGBrgb(120, 62, 210)
HSLhsl(264, 62%, 53%)
HSVhsv(264, 70%, 82%)
CMYKcmyk(42.9%, 70.5%, 0%, 17.6%)
CIE-LABlab(41.36, 55.50, -67.04)
CIE-LCHlch(41.36, 87.03, 309.62°)
OKLaboklab(51.91% 0.0935 -0.1917)
OKLCHoklch(51.91% 0.213 296)
XYZxyz(21.0981, 12.0910, 62.1825)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ED2 #98D23E
analogous
#3E4ED2 #783ED2 #C23ED2
triadic
#783ED2 #D2783E #3ED278
tetradic
#783ED2 #D23E4E #98D23E #3ED2C2
square
#783ED2 #D23E4E #98D23E #3ED2C2
split-complementary
#783ED2 #D2C23E #4ED23E
monochromatic
#411C79 #5B28AB #783ED2 #9B70DE #BDA1E9

Accessibility & contrast

On white

6.14
#783ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#783ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ED2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ED2#FFFFFF#000000##FFFFFF
##783ED21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#606384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #783ed2;
/* rgb */ color: rgb(120, 62, 210);
/* oklch */ color: oklch(51.9% 0.213 296.0);
Tailwind
colors: {
  custom: {
    50: '#a678e1',
    500: '#783ed2',
    950: '#000000',
  },
}
SCSS
$custom: #783ed2;
$custom-light: #a678e1;
$custom-dark: #000000;
JSON
{
  "hex": "#783ed2",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 263.514,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.21334,
    "h": 296
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#783ED2
secondary
#BDD696
accent
#E543A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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