#783AC9#783AC9

#783AC9 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.208 H 298.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#783AC9
RGBrgb(120, 58, 201)
HSLhsl(266, 57%, 51%)
HSVhsv(266, 71%, 79%)
CMYKcmyk(40.3%, 71.1%, 0%, 21.2%)
CIE-LABlab(39.98, 55.12, -64.09)
CIE-LCHlch(39.98, 84.53, 310.70°)
OKLaboklab(50.71% 0.099 -0.1831)
OKLCHoklch(50.71% 0.208 298.4)
XYZxyz(19.7987, 11.2359, 56.3727)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC9 #8BC93A
analogous
#3A43C9 #783AC9 #BF3AC9
triadic
#783AC9 #C9783A #3AC978
tetradic
#783AC9 #C93A43 #8BC93A #3AC9BF
square
#783AC9 #C93A43 #8BC93A #3AC9BF
split-complementary
#783AC9 #C9BF3A #43C93A
monochromatic
#3F1D6B #5B2B9B #783AC9 #996AD6 #BA9AE3

Accessibility & contrast

On white

6.47
#783AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#783AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AC9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC9#FFFFFF#000000##FFFFFF
##783AC91.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#645E7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783ac9;
/* rgb */ color: rgb(120, 58, 201);
/* oklch */ color: oklch(50.7% 0.208 298.4);
Tailwind
colors: {
  custom: {
    50: '#a675da',
    500: '#783ac9',
    950: '#000000',
  },
}
SCSS
$custom: #783ac9;
$custom-light: #a675da;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac9",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 266.014,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.20812,
    "h": 298.4
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#783AC9
secondary
#B4CF90
accent
#E0489E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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