#783CC6#783CC6

#783CC6 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.202 H 298.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#783CC6
RGBrgb(120, 60, 198)
HSLhsl(266, 55%, 51%)
HSVhsv(266, 70%, 78%)
CMYKcmyk(39.4%, 69.7%, 0%, 22.4%)
CIE-LABlab(40.08, 53.42, -62.16)
CIE-LCHlch(40.08, 81.96, 310.67°)
OKLaboklab(50.71% 0.0976 -0.1774)
OKLCHoklch(50.71% 0.202 298.8)
XYZxyz(19.5521, 11.3017, 54.5665)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CC6 #8AC63C
analogous
#3C45C6 #783CC6 #BD3CC6
triadic
#783CC6 #C6783C #3CC678
tetradic
#783CC6 #C63C45 #8AC63C #3CC6BD
square
#783CC6 #C63C45 #8AC63C #3CC6BD
split-complementary
#783CC6 #C6BD3C #45C63C
monochromatic
#3F1F69 #5B2D98 #783CC6 #996BD4 #BA9BE2

Accessibility & contrast

On white

6.44
#783CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#783CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CC6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CC6#FFFFFF#000000##FFFFFF
##783CC61.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#655D7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783cc6;
/* rgb */ color: rgb(120, 60, 198);
/* oklch */ color: oklch(50.7% 0.202 298.8);
Tailwind
colors: {
  custom: {
    50: '#a576d8',
    500: '#783cc6',
    950: '#000000',
  },
}
SCSS
$custom: #783cc6;
$custom-light: #a576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#783cc6",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 266.087,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.20249,
    "h": 298.8
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#783CC6
secondary
#B3CE90
accent
#DE4A9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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