#783EE2#783EE2

#783EE2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.231 H 293.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#783EE2
RGBrgb(120, 62, 226)
HSLhsl(261, 74%, 56%)
HSVhsv(261, 73%, 89%)
CMYKcmyk(46.9%, 72.6%, 0%, 11.4%)
CIE-LABlab(42.66, 59.62, -74.08)
CIE-LCHlch(42.66, 95.09, 308.82°)
OKLaboklab(53.23% 0.0902 -0.2124)
OKLCHoklch(53.23% 0.231 293)
XYZxyz(23.1920, 12.9285, 73.2103)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EE2 #A8E23E
analogous
#3E56E2 #783EE2 #CA3EE2
triadic
#783EE2 #E2783E #3EE278
tetradic
#783EE2 #E23E56 #A8E23E #3EE2CA
square
#783EE2 #E23E56 #A8E23E #3EE2CA
split-complementary
#783EE2 #E2CA3E #56E23E
monochromatic
#411690 #591EC5 #783EE2 #9D73EA #C2A8F2

Accessibility & contrast

On white

5.86
#783EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#783EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EE2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EE2#FFFFFF#000000##FFFFFF
##783EE21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#57698D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #783ee2;
/* rgb */ color: rgb(120, 62, 226);
/* oklch */ color: oklch(53.2% 0.231 293.0);
Tailwind
colors: {
  custom: {
    50: '#a879ec',
    500: '#783ee2',
    950: '#000000',
  },
}
SCSS
$custom: #783ee2;
$custom-light: #a879ec;
$custom-dark: #000000;
JSON
{
  "hex": "#783ee2",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 261.22,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.2308,
    "h": 293
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#783EE2
secondary
#C8E09C
accent
#F137AF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #783EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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