#783AB9#783AB9

#783AB9 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.191 H 302.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#783AB9
RGBrgb(120, 58, 185)
HSLhsl(269, 52%, 48%)
HSVhsv(269, 69%, 73%)
CMYKcmyk(35.1%, 68.6%, 0%, 27.5%)
CIE-LABlab(38.76, 51.16, -56.70)
CIE-LCHlch(38.76, 76.37, 312.06°)
OKLaboklab(49.46% 0.1017 -0.1613)
OKLCHoklch(49.46% 0.191 302.2)
XYZxyz(18.0137, 10.5219, 46.9714)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AB9 #7BB93A
analogous
#3A3CB9 #783AB9 #B73AB9
triadic
#783AB9 #B9783A #3AB978
tetradic
#783AB9 #B93A3C #7BB93A #3AB9B7
square
#783AB9 #B93A3C #7BB93A #3AB9B7
split-complementary
#783AB9 #B9B73A #3CB93A
monochromatic
#3C1D5C #5A2B8A #783AB9 #9762CE #B691DC

Accessibility & contrast

On white

6.76
#783AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#783AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783AB9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AB9#FFFFFF#000000##FFFFFF
##783AB91.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#6B5775
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783ab9;
/* rgb */ color: rgb(120, 58, 185);
/* oklch */ color: oklch(49.5% 0.191 302.2);
Tailwind
colors: {
  custom: {
    50: '#a475cf',
    500: '#783ab9',
    950: '#000000',
  },
}
SCSS
$custom: #783ab9;
$custom-light: #a475cf;
$custom-dark: #000000;
JSON
{
  "hex": "#783ab9",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 269.291,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.1907,
    "h": 302.2
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#783AB9
secondary
#A8C787
accent
#DC4C96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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