#783AC6#783AC6

#783AC6 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.205 H 299.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#783AC6
RGBrgb(120, 58, 198)
HSLhsl(267, 55%, 50%)
HSVhsv(267, 71%, 78%)
CMYKcmyk(39.4%, 70.7%, 0%, 22.4%)
CIE-LABlab(39.74, 54.37, -62.72)
CIE-LCHlch(39.74, 83.01, 310.92°)
OKLaboklab(50.47% 0.0996 -0.179)
OKLCHoklch(50.47% 0.205 299.1)
XYZxyz(19.4493, 11.0962, 54.5322)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC6 #88C63A
analogous
#3A42C6 #783AC6 #BE3AC6
triadic
#783AC6 #C6783A #3AC678
tetradic
#783AC6 #C63A42 #88C63A #3AC6BE
square
#783AC6 #C63A42 #88C63A #3AC6BE
split-complementary
#783AC6 #C6BE3A #42C63A
monochromatic
#3F1E68 #5B2C97 #783AC6 #9969D4 #B999E1

Accessibility & contrast

On white

6.52
#783AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#783AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AC6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC6#FFFFFF#000000##FFFFFF
##783AC61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#665C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783ac6;
/* rgb */ color: rgb(120, 58, 198);
/* oklch */ color: oklch(50.5% 0.205 299.1);
Tailwind
colors: {
  custom: {
    50: '#a575d8',
    500: '#783ac6',
    950: '#000000',
  },
}
SCSS
$custom: #783ac6;
$custom-light: #a575d8;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac6",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 266.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.20487,
    "h": 299.1
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#783AC6
secondary
#B1CD8F
accent
#DE499C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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