#783EC5#783EC5

#783EC5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.199 H 298.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#783EC5
RGBrgb(120, 62, 197)
HSLhsl(266, 54%, 51%)
HSVhsv(266, 69%, 77%)
CMYKcmyk(39.1%, 68.5%, 0%, 22.7%)
CIE-LABlab(40.36, 52.19, -61.13)
CIE-LCHlch(40.36, 80.38, 310.49°)
OKLaboklab(50.88% 0.0957 -0.1744)
OKLCHoklch(50.88% 0.199 298.8)
XYZxyz(19.5439, 11.4693, 53.9966)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EC5 #8BC53E
analogous
#3E47C5 #783EC5 #BC3EC5
triadic
#783EC5 #C5783E #3EC578
tetradic
#783EC5 #C53E47 #8BC53E #3EC5BC
square
#783EC5 #C53E47 #8BC53E #3EC5BC
split-complementary
#783EC5 #C5BC3E #47C53E
monochromatic
#3F2069 #5B2E98 #783EC5 #996DD3 #BA9CE1

Accessibility & contrast

On white

6.38
#783EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#783EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EC5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EC5#FFFFFF#000000##FFFFFF
##783EC51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#665E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783ec5;
/* rgb */ color: rgb(120, 62, 197);
/* oklch */ color: oklch(50.9% 0.199 298.8);
Tailwind
colors: {
  custom: {
    50: '#a577d7',
    500: '#783ec5',
    950: '#000000',
  },
}
SCSS
$custom: #783ec5;
$custom-light: #a577d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783ec5",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 265.778,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.19894,
    "h": 298.8
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#783EC5
secondary
#B4CD91
accent
#DD4B9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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