#783EAB#783EAB

#783EAB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.170 H 305.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#783EAB
RGBrgb(120, 62, 171)
HSLhsl(272, 47%, 46%)
HSVhsv(272, 64%, 67%)
CMYKcmyk(29.8%, 63.7%, 0%, 32.9%)
CIE-LABlab(38.51, 45.73, -48.82)
CIE-LCHlch(38.51, 66.89, 313.13°)
OKLaboklab(48.97% 0.0985 -0.1382)
OKLCHoklch(48.97% 0.17 305.5)
XYZxyz(16.8174, 10.3787, 39.6375)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EAB #71AB3E
analogous
#423EAB #783EAB #AB3EA7
triadic
#783EAB #AB783E #3EAB78
tetradic
#783EAB #AB423E #71AB3E #3EA7AB
square
#783EAB #AB423E #71AB3E #3EA7AB
split-complementary
#783EAB #A7AB3E #3EAB42
monochromatic
#391D51 #582E7E #783EAB #9661C6 #B48ED6

Accessibility & contrast

On white

6.83
#783EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#783EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EAB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EAB#FFFFFF#000000##FFFFFF
##783EAB1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#245BA9
Tritanopia (blue-blind)
#6F556F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783eab;
/* rgb */ color: rgb(120, 62, 171);
/* oklch */ color: oklch(49.0% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#a377c5',
    500: '#783eab',
    950: '#000000',
  },
}
SCSS
$custom: #783eab;
$custom-light: #a377c5;
$custom-dark: #000000;
JSON
{
  "hex": "#783eab",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 271.927,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48973,
    "c": 0.16971,
    "h": 305.5
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#783EAB
secondary
#A0C184
accent
#D65190
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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