#783ABA#783ABA

#783ABA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.192 H 302.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#783ABA
RGBrgb(120, 58, 186)
HSLhsl(269, 52%, 48%)
HSVhsv(269, 69%, 73%)
CMYKcmyk(35.5%, 68.8%, 0%, 27.1%)
CIE-LABlab(38.84, 51.40, -57.17)
CIE-LCHlch(38.84, 76.88, 311.96°)
OKLaboklab(49.54% 0.1015 -0.1627)
OKLCHoklch(49.54% 0.192 302)
XYZxyz(18.1196, 10.5643, 47.5294)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783ABA #7CBA3A
analogous
#3A3CBA #783ABA #B83ABA
triadic
#783ABA #BA783A #3ABA78
tetradic
#783ABA #BA3A3C #7CBA3A #3ABAB8
square
#783ABA #BA3A3C #7CBA3A #3ABAB8
split-complementary
#783ABA #BAB83A #3CBA3A
monochromatic
#3C1D5D #5A2B8B #783ABA #9763CE #B692DD

Accessibility & contrast

On white

6.75
#783ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#783ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783ABA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783ABA#FFFFFF#000000##FFFFFF
##783ABA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#6A5875
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783aba;
/* rgb */ color: rgb(120, 58, 186);
/* oklch */ color: oklch(49.5% 0.192 302.0);
Tailwind
colors: {
  custom: {
    50: '#a475d0',
    500: '#783aba',
    950: '#000000',
  },
}
SCSS
$custom: #783aba;
$custom-light: #a475d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783aba",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 269.063,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.1918,
    "h": 302
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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