#783186#783186

#783186 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.149 H 320.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#783186
RGBrgb(120, 49, 134)
HSLhsl(290, 46%, 36%)
HSVhsv(290, 63%, 53%)
CMYKcmyk(10.4%, 63.4%, 0%, 47.5%)
CIE-LABlab(33.80, 43.93, -33.91)
CIE-LCHlch(33.80, 55.50, 322.34°)
OKLaboklab(44.81% 0.1156 -0.0945)
OKLCHoklch(44.81% 0.149 320.7)
XYZxyz(13.1466, 7.9116, 23.3842)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783186 #3F8631
analogous
#4D3186 #783186 #863169
triadic
#783186 #867831 #318678
tetradic
#783186 #864D31 #3F8631 #316986
square
#783186 #864D31 #3F8631 #316986
split-complementary
#783186 #698631 #31864D
monochromatic
#28102C #502159 #783186 #A041B3 #B969C8

Accessibility & contrast

On white

8.13
#783186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#783186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783186
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783186#FFFFFF#000000##FFFFFF
##7831861.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A89
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#793F57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #783186;
/* rgb */ color: rgb(120, 49, 134);
/* oklch */ color: oklch(44.8% 0.149 320.7);
Tailwind
colors: {
  custom: {
    50: '#a16eaa',
    500: '#783186',
    950: '#000000',
  },
}
SCSS
$custom: #783186;
$custom-light: #a16eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#783186",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 290.118,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.14928,
    "h": 320.7
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#783186
secondary
#70B063
accent
#D65268
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #783186

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

Preview Lab → · Contrast checker → · Palette generator →

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