#783CA3#783CA3

#783CA3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.164 H 308.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#783CA3
RGBrgb(120, 60, 163)
HSLhsl(275, 46%, 44%)
HSVhsv(275, 63%, 64%)
CMYKcmyk(26.4%, 63.2%, 0%, 36.1%)
CIE-LABlab(37.61, 44.85, -45.49)
CIE-LCHlch(37.61, 63.88, 314.59°)
OKLaboklab(48.15% 0.1013 -0.1284)
OKLCHoklch(48.15% 0.164 308.3)
XYZxyz(15.9711, 9.8694, 35.7068)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783CA3 #67A33C
analogous
#443CA3 #783CA3 #A33C9A
triadic
#783CA3 #A3783C #3CA378
tetradic
#783CA3 #A3443C #67A33C #3C9AA3
square
#783CA3 #A3443C #67A33C #3C9AA3
split-complementary
#783CA3 #9AA33C #3CA344
monochromatic
#361B4A #572C76 #783CA3 #975AC2 #B387D3

Accessibility & contrast

On white

7.06
#783CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#783CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783CA3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783CA3#FFFFFF#000000##FFFFFF
##783CA31.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A6
Deuteranopia (green-blind)
#2B59A1
Tritanopia (blue-blind)
#72516A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783ca3;
/* rgb */ color: rgb(120, 60, 163);
/* oklch */ color: oklch(48.1% 0.164 308.3);
Tailwind
colors: {
  custom: {
    50: '#a275bf',
    500: '#783ca3',
    950: '#000000',
  },
}
SCSS
$custom: #783ca3;
$custom-light: #a275bf;
$custom-dark: #000000;
JSON
{
  "hex": "#783ca3",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 274.951,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.16361,
    "h": 308.3
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#783CA3
secondary
#98BD7E
accent
#D65289
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #783CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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