#783FE2#783FE2

#783FE2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.230 H 292.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#783FE2
RGBrgb(120, 63, 226)
HSLhsl(261, 74%, 57%)
HSVhsv(261, 72%, 89%)
CMYKcmyk(46.9%, 72.1%, 0%, 11.4%)
CIE-LABlab(42.82, 59.15, -73.81)
CIE-LCHlch(42.82, 94.59, 308.71°)
OKLaboklab(53.35% 0.0894 -0.2117)
OKLCHoklch(53.35% 0.23 292.9)
XYZxyz(23.2469, 13.0383, 73.2285)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FE2 #A9E23F
analogous
#3F57E2 #783FE2 #CA3FE2
triadic
#783FE2 #E2783F #3FE278
tetradic
#783FE2 #E23F57 #A9E23F #3FE2CA
square
#783FE2 #E23F57 #A9E23F #3FE2CA
split-complementary
#783FE2 #E2CA3F #57E23F
monochromatic
#411691 #591EC6 #783FE2 #9D74EA #C3A9F2

Accessibility & contrast

On white

5.82
#783FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#783FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FE2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FE2#FFFFFF#000000##FFFFFF
##783FE21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783fe2;
/* rgb */ color: rgb(120, 63, 226);
/* oklch */ color: oklch(53.3% 0.230 292.9);
Tailwind
colors: {
  custom: {
    50: '#a879ec',
    500: '#783fe2',
    950: '#000000',
  },
}
SCSS
$custom: #783fe2;
$custom-light: #a879ec;
$custom-dark: #000000;
JSON
{
  "hex": "#783fe2",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 260.982,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.22975,
    "h": 292.9
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#783FE2
secondary
#C8E09D
accent
#F037B0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #783FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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