#783CC9#783CC9

#783CC9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.206 H 298.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#783CC9
RGBrgb(120, 60, 201)
HSLhsl(266, 57%, 51%)
HSVhsv(266, 70%, 79%)
CMYKcmyk(40.3%, 70.1%, 0%, 21.2%)
CIE-LABlab(40.31, 54.17, -63.53)
CIE-LCHlch(40.31, 83.49, 310.45°)
OKLaboklab(50.95% 0.0971 -0.1814)
OKLCHoklch(50.95% 0.206 298.1)
XYZxyz(19.9015, 11.4415, 56.4069)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CC9 #8DC93C
analogous
#3C46C9 #783CC9 #BF3CC9
triadic
#783CC9 #C9783C #3CC978
tetradic
#783CC9 #C93C46 #8DC93C #3CC9BF
square
#783CC9 #C93C46 #8DC93C #3CC9BF
split-complementary
#783CC9 #C9BF3C #46C93C
monochromatic
#3F1E6D #5B2B9C #783CC9 #996CD6 #BA9CE4

Accessibility & contrast

On white

6.39
#783CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783CC9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CC9#FFFFFF#000000##FFFFFF
##783CC91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#645F7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783cc9;
/* rgb */ color: rgb(120, 60, 201);
/* oklch */ color: oklch(50.9% 0.206 298.1);
Tailwind
colors: {
  custom: {
    50: '#a576da',
    500: '#783cc9',
    950: '#000000',
  },
}
SCSS
$custom: #783cc9;
$custom-light: #a576da;
$custom-dark: #000000;
JSON
{
  "hex": "#783cc9",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 265.532,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.20578,
    "h": 298.1
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#783CC9
secondary
#B5D091
accent
#E0489F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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