#783185#783185

#783185 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.7% C 0.148 H 321.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#783185
RGBrgb(120, 49, 133)
HSLhsl(291, 46%, 36%)
HSVhsv(291, 63%, 52%)
CMYKcmyk(9.8%, 63.2%, 0%, 47.8%)
CIE-LABlab(33.74, 43.73, -33.39)
CIE-LCHlch(33.74, 55.02, 322.64°)
OKLaboklab(44.75% 0.1155 -0.093)
OKLCHoklch(44.75% 0.148 321.2)
XYZxyz(13.0772, 7.8838, 23.0186)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783185 #3E8531
analogous
#4E3185 #783185 #853168
triadic
#783185 #857831 #318578
tetradic
#783185 #854E31 #3E8531 #316885
square
#783185 #854E31 #3E8531 #316885
split-complementary
#783185 #688531 #31854E
monochromatic
#27102C #502158 #783185 #A041B2 #B969C8

Accessibility & contrast

On white

8.15
#783185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783185
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783185#FFFFFF#000000##FFFFFF
##7831851.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A88
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#793E56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #783185;
/* rgb */ color: rgb(120, 49, 133);
/* oklch */ color: oklch(44.7% 0.148 321.2);
Tailwind
colors: {
  custom: {
    50: '#a16ea9',
    500: '#783185',
    950: '#000000',
  },
}
SCSS
$custom: #783185;
$custom-light: #a16ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#783185",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 290.714,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.14828,
    "h": 321.2
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#783185
secondary
#6FAF63
accent
#D65266
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #783185

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

Preview Lab → · Contrast checker → · Palette generator →

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