#783BA3#783BA3

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

Color values

HEX#783BA3
RGBrgb(120, 59, 163)
HSLhsl(275, 47%, 44%)
HSVhsv(275, 64%, 64%)
CMYKcmyk(26.4%, 63.8%, 0%, 36.1%)
CIE-LABlab(37.42, 45.36, -45.80)
CIE-LCHlch(37.42, 64.46, 314.73°)
OKLaboklab(48.01% 0.1026 -0.1293)
OKLCHoklch(48.01% 0.165 308.4)
XYZxyz(15.9192, 9.7656, 35.6896)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BA3 #66A33B
analogous
#443BA3 #783BA3 #A33B9A
triadic
#783BA3 #A3783B #3BA378
tetradic
#783BA3 #A3443B #66A33B #3B9AA3
square
#783BA3 #A3443B #66A33B #3B9AA3
split-complementary
#783BA3 #9AA33B #3BA344
monochromatic
#361A49 #572B76 #783BA3 #9758C3 #B385D3

Accessibility & contrast

On white

7.11
#783BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#783BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783BA3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BA3#FFFFFF#000000##FFFFFF
##783BA31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#725069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783ba3;
/* rgb */ color: rgb(120, 59, 163);
/* oklch */ color: oklch(48.0% 0.165 308.4);
Tailwind
colors: {
  custom: {
    50: '#a275bf',
    500: '#783ba3',
    950: '#000000',
  },
}
SCSS
$custom: #783ba3;
$custom-light: #a275bf;
$custom-dark: #000000;
JSON
{
  "hex": "#783ba3",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 275.192,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.16506,
    "h": 308.4
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#783BA3
secondary
#97BD7D
accent
#D65188
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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