#783CA1#783CA1

#783CA1 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.161 H 308.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#783CA1
RGBrgb(120, 60, 161)
HSLhsl(276, 46%, 43%)
HSVhsv(276, 63%, 63%)
CMYKcmyk(25.5%, 62.7%, 0%, 36.9%)
CIE-LABlab(37.48, 44.37, -44.50)
CIE-LCHlch(37.48, 62.84, 314.92°)
OKLaboklab(48.01% 0.1014 -0.1255)
OKLCHoklch(48.01% 0.161 308.9)
XYZxyz(15.7933, 9.7983, 34.7706)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA1 #65A13C
analogous
#463CA1 #783CA1 #A13C97
triadic
#783CA1 #A1783C #3CA178
tetradic
#783CA1 #A1463C #65A13C #3C97A1
square
#783CA1 #A1463C #65A13C #3C97A1
split-complementary
#783CA1 #97A13C #3CA146
monochromatic
#361B48 #572B74 #783CA1 #9759C1 #B386D2

Accessibility & contrast

On white

7.10
#783CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#783CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783CA1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA1#FFFFFF#000000##FFFFFF
##783CA11.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A4
Deuteranopia (green-blind)
#2D599F
Tritanopia (blue-blind)
#725069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783ca1;
/* rgb */ color: rgb(120, 60, 161);
/* oklch */ color: oklch(48.0% 0.161 308.9);
Tailwind
colors: {
  custom: {
    50: '#a275bd',
    500: '#783ca1',
    950: '#000000',
  },
}
SCSS
$custom: #783ca1;
$custom-light: #a275bd;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca1",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 275.644,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48013,
    "c": 0.16136,
    "h": 308.9
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#783CA1
secondary
#96BC7D
accent
#D55288
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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