#783286#783286

#783286 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.148 H 320.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#783286
RGBrgb(120, 50, 134)
HSLhsl(290, 46%, 36%)
HSVhsv(290, 63%, 53%)
CMYKcmyk(10.4%, 62.7%, 0%, 47.5%)
CIE-LABlab(33.97, 43.45, -33.63)
CIE-LCHlch(33.97, 54.94, 322.26°)
OKLaboklab(44.94% 0.1143 -0.0937)
OKLCHoklch(44.94% 0.148 320.6)
XYZxyz(13.1889, 7.9961, 23.3983)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783286 #408632
analogous
#4E3286 #783286 #86326A
triadic
#783286 #867832 #328678
tetradic
#783286 #864E32 #408632 #326A86
square
#783286 #864E32 #408632 #326A86
split-complementary
#783286 #6A8632 #32864E
monochromatic
#28112D #502159 #783286 #A043B3 #B86BC8

Accessibility & contrast

On white

8.08
#783286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#783286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783286
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783286#FFFFFF#000000##FFFFFF
##7832861.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#3A5284
Tritanopia (blue-blind)
#793F57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #783286;
/* rgb */ color: rgb(120, 50, 134);
/* oklch */ color: oklch(44.9% 0.148 320.6);
Tailwind
colors: {
  custom: {
    50: '#a16fa9',
    500: '#783286',
    950: '#000000',
  },
}
SCSS
$custom: #783286;
$custom-light: #a16fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#783286",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 290,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44938,
    "c": 0.14775,
    "h": 320.6
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#783286
secondary
#71AF64
accent
#D55268
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #783286

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

Preview Lab → · Contrast checker → · Palette generator →

#783286 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva