#783AC8#783AC8

#783AC8 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.207 H 298.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#783AC8
RGBrgb(120, 58, 200)
HSLhsl(266, 56%, 51%)
HSVhsv(266, 71%, 78%)
CMYKcmyk(40%, 71%, 0%, 21.6%)
CIE-LABlab(39.90, 54.87, -63.63)
CIE-LCHlch(39.90, 84.02, 310.77°)
OKLaboklab(50.63% 0.0992 -0.1817)
OKLCHoklch(50.63% 0.207 298.6)
XYZxyz(19.6815, 11.1890, 55.7552)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AC8 #8AC83A
analogous
#3A43C8 #783AC8 #BF3AC8
triadic
#783AC8 #C8783A #3AC878
tetradic
#783AC8 #C83A43 #8AC83A #3AC8BF
square
#783AC8 #C83A43 #8AC83A #3AC8BF
split-complementary
#783AC8 #C8BF3A #43C83A
monochromatic
#3F1E6A #5B2B9A #783AC8 #996AD5 #BA9AE3

Accessibility & contrast

On white

6.49
#783AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#783AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AC8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AC8#FFFFFF#000000##FFFFFF
##783AC81.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783ac8;
/* rgb */ color: rgb(120, 58, 200);
/* oklch */ color: oklch(50.6% 0.207 298.6);
Tailwind
colors: {
  custom: {
    50: '#a575da',
    500: '#783ac8',
    950: '#000000',
  },
}
SCSS
$custom: #783ac8;
$custom-light: #a575da;
$custom-dark: #000000;
JSON
{
  "hex": "#783ac8",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 266.197,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.20704,
    "h": 298.6
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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