#783ACA#783ACA

#783ACA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.209 H 298.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#783ACA
RGBrgb(120, 58, 202)
HSLhsl(266, 58%, 51%)
HSVhsv(266, 71%, 79%)
CMYKcmyk(40.6%, 71.3%, 0%, 20.8%)
CIE-LABlab(40.05, 55.37, -64.54)
CIE-LCHlch(40.05, 85.04, 310.63°)
OKLaboklab(50.79% 0.0988 -0.1844)
OKLCHoklch(50.79% 0.209 298.2)
XYZxyz(19.9167, 11.2831, 56.9942)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ACA #8CCA3A
analogous
#3A44CA #783ACA #C03ACA
triadic
#783ACA #CA783A #3ACA78
tetradic
#783ACA #CA3A44 #8CCA3A #3ACAC0
square
#783ACA #CA3A44 #8CCA3A #3ACAC0
split-complementary
#783ACA #CAC03A #44CA3A
monochromatic
#3F1D6C #5B2A9D #783ACA #996AD7 #BA9AE4

Accessibility & contrast

On white

6.45
#783ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783ACA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ACA#FFFFFF#000000##FFFFFF
##783ACA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783aca;
/* rgb */ color: rgb(120, 58, 202);
/* oklch */ color: oklch(50.8% 0.209 298.2);
Tailwind
colors: {
  custom: {
    50: '#a675db',
    500: '#783aca',
    950: '#000000',
  },
}
SCSS
$custom: #783aca;
$custom-light: #a675db;
$custom-dark: #000000;
JSON
{
  "hex": "#783aca",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 265.833,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.20921,
    "h": 298.2
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#783ACA
secondary
#B4D090
accent
#E1479F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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