#783586#783586

#783586 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.3% C 0.143 H 320.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#783586
RGBrgb(120, 53, 134)
HSLhsl(290, 43%, 37%)
HSVhsv(290, 60%, 53%)
CMYKcmyk(10.4%, 60.4%, 0%, 47.5%)
CIE-LABlab(34.52, 41.96, -32.77)
CIE-LCHlch(34.52, 53.24, 322.01°)
OKLaboklab(45.34% 0.1103 -0.0912)
OKLCHoklch(45.34% 0.143 320.4)
XYZxyz(13.3214, 8.2611, 23.4425)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783586 #438635
analogous
#503586 #783586 #86356C
triadic
#783586 #867835 #358678
tetradic
#783586 #865035 #438635 #356C86
square
#783586 #865035 #438635 #356C86
split-complementary
#783586 #6C8635 #358650
monochromatic
#29122E #51245A #783586 #9F46B2 #B76FC6

Accessibility & contrast

On white

7.92
#783586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#783586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783586
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783586#FFFFFF#000000##FFFFFF
##7835861.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C89
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#794158
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #783586;
/* rgb */ color: rgb(120, 53, 134);
/* oklch */ color: oklch(45.3% 0.143 320.4);
Tailwind
colors: {
  custom: {
    50: '#a170a9',
    500: '#783586',
    950: '#000000',
  },
}
SCSS
$custom: #783586;
$custom-light: #a170a9;
$custom-dark: #000000;
JSON
{
  "hex": "#783586",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 289.63,
    "s": 43.316,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.14308,
    "h": 320.4
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#783586
secondary
#74AE68
accent
#D3556B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783586

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

Preview Lab → · Contrast checker → · Palette generator →

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