#783EC7#783EC7

#783EC7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.201 H 298.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#783EC7
RGBrgb(120, 62, 199)
HSLhsl(265, 55%, 51%)
HSVhsv(265, 69%, 78%)
CMYKcmyk(39.7%, 68.8%, 0%, 22%)
CIE-LABlab(40.51, 52.69, -62.05)
CIE-LCHlch(40.51, 81.41, 310.34°)
OKLaboklab(51.04% 0.0954 -0.1771)
OKLCHoklch(51.04% 0.201 298.3)
XYZxyz(19.7745, 11.5616, 55.2115)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EC7 #8DC73E
analogous
#3E48C7 #783EC7 #BC3EC7
triadic
#783EC7 #C7783E #3EC778
tetradic
#783EC7 #C73E48 #8DC73E #3EC7BC
square
#783EC7 #C73E48 #8DC73E #3EC7BC
split-complementary
#783EC7 #C7BC3E #48C73E
monochromatic
#3F1F6B #5B2D9B #783EC7 #996DD5 #BA9DE3

Accessibility & contrast

On white

6.34
#783EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#783EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EC7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EC7#FFFFFF#000000##FFFFFF
##783EC71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#655F7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783ec7;
/* rgb */ color: rgb(120, 62, 199);
/* oklch */ color: oklch(51.0% 0.201 298.3);
Tailwind
colors: {
  custom: {
    50: '#a578d9',
    500: '#783ec7',
    950: '#000000',
  },
}
SCSS
$custom: #783ec7;
$custom-light: #a578d9;
$custom-dark: #000000;
JSON
{
  "hex": "#783ec7",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 265.401,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.20117,
    "h": 298.3
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#783EC7
secondary
#B5CF92
accent
#DE499F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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