#783BAA#783BAA

#783BAA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.173 H 306.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#783BAA
RGBrgb(120, 59, 170)
HSLhsl(273, 48%, 45%)
HSVhsv(273, 65%, 67%)
CMYKcmyk(29.4%, 65.3%, 0%, 33.3%)
CIE-LABlab(37.88, 47.02, -49.23)
CIE-LCHlch(37.88, 68.08, 313.68°)
OKLaboklab(48.5% 0.1022 -0.1394)
OKLCHoklch(48.5% 0.173 306.2)
XYZxyz(16.5638, 10.0234, 39.0845)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BAA #6DAA3B
analogous
#403BAA #783BAA #AA3BA5
triadic
#783BAA #AA783B #3BAA78
tetradic
#783BAA #AA403B #6DAA3B #3BA5AA
square
#783BAA #AA403B #6DAA3B #3BA5AA
split-complementary
#783BAA #A5AA3B #3BAA40
monochromatic
#381B4F #582B7D #783BAA #965CC6 #B489D6

Accessibility & contrast

On white

6.99
#783BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#783BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BAA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BAA#FFFFFF#000000##FFFFFF
##783BAA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#70526D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #783baa;
/* rgb */ color: rgb(120, 59, 170);
/* oklch */ color: oklch(48.5% 0.173 306.2);
Tailwind
colors: {
  custom: {
    50: '#a375c4',
    500: '#783baa',
    950: '#000000',
  },
}
SCSS
$custom: #783baa;
$custom-light: #a375c4;
$custom-dark: #000000;
JSON
{
  "hex": "#783baa",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 272.973,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.17283,
    "h": 306.2
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#783BAA
secondary
#9DC080
accent
#D8508D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #783BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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