#783CA9#783CA9

#783CA9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.170 H 306.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#783CA9
RGBrgb(120, 60, 169)
HSLhsl(273, 48%, 45%)
HSVhsv(273, 64%, 66%)
CMYKcmyk(29%, 64.5%, 0%, 33.7%)
CIE-LABlab(38.00, 46.27, -48.45)
CIE-LCHlch(38.00, 67.00, 313.69°)
OKLaboklab(48.56% 0.101 -0.1371)
OKLCHoklch(48.56% 0.17 306.4)
XYZxyz(16.5215, 10.0895, 38.6055)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA9 #6DA93C
analogous
#423CA9 #783CA9 #A93CA3
triadic
#783CA9 #A9783C #3CA978
tetradic
#783CA9 #A9423C #6DA93C #3CA3A9
square
#783CA9 #A9423C #6DA93C #3CA3A9
split-complementary
#783CA9 #A3A93C #3CA942
monochromatic
#381C4F #582C7C #783CA9 #965DC5 #B48AD5

Accessibility & contrast

On white

6.96
#783CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#783CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783CA9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA9#FFFFFF#000000##FFFFFF
##783CA91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#245AA7
Tritanopia (blue-blind)
#70536D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783ca9;
/* rgb */ color: rgb(120, 60, 169);
/* oklch */ color: oklch(48.6% 0.170 306.4);
Tailwind
colors: {
  custom: {
    50: '#a375c3',
    500: '#783ca9',
    950: '#000000',
  },
}
SCSS
$custom: #783ca9;
$custom-light: #a375c3;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca9",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 273.028,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.17031,
    "h": 306.4
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#783CA9
secondary
#9DC081
accent
#D7518D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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