#783BA4#783BA4

#783BA4 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.166 H 308.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#783BA4
RGBrgb(120, 59, 164)
HSLhsl(275, 47%, 44%)
HSVhsv(275, 64%, 64%)
CMYKcmyk(26.8%, 64%, 0%, 35.7%)
CIE-LABlab(37.48, 45.60, -46.29)
CIE-LCHlch(37.48, 64.98, 314.57°)
OKLaboklab(48.08% 0.1025 -0.1308)
OKLCHoklch(48.08% 0.166 308.1)
XYZxyz(16.0092, 9.8016, 36.1633)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BA4 #67A43B
analogous
#433BA4 #783BA4 #A43B9B
triadic
#783BA4 #A4783B #3BA478
tetradic
#783BA4 #A4433B #67A43B #3B9BA4
square
#783BA4 #A4433B #67A43B #3B9BA4
split-complementary
#783BA4 #9BA43B #3BA443
monochromatic
#361B4A #572B77 #783BA4 #9759C3 #B386D3

Accessibility & contrast

On white

7.09
#783BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783BA4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BA4#FFFFFF#000000##FFFFFF
##783BA41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#2959A2
Tritanopia (blue-blind)
#71506A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783ba4;
/* rgb */ color: rgb(120, 59, 164);
/* oklch */ color: oklch(48.1% 0.166 308.1);
Tailwind
colors: {
  custom: {
    50: '#a275c0',
    500: '#783ba4',
    950: '#000000',
  },
}
SCSS
$custom: #783ba4;
$custom-light: #a275c0;
$custom-dark: #000000;
JSON
{
  "hex": "#783ba4",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 274.857,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4808,
    "c": 0.16617,
    "h": 308.1
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#783BA4
secondary
#98BE7D
accent
#D75189
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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