#783190#783190

#783190 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.159 H 316.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#783190
RGBrgb(120, 49, 144)
HSLhsl(285, 49%, 38%)
HSVhsv(285, 66%, 56%)
CMYKcmyk(16.7%, 66%, 0%, 43.5%)
CIE-LABlab(34.40, 46.03, -39.11)
CIE-LCHlch(34.40, 60.40, 319.65°)
OKLaboklab(45.44% 0.1156 -0.1097)
OKLCHoklch(45.44% 0.159 316.5)
XYZxyz(13.8773, 8.2038, 27.2326)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783190 #499031
analogous
#483190 #783190 #903178
triadic
#783190 #907831 #319078
tetradic
#783190 #904831 #499031 #317890
square
#783190 #904831 #499031 #317890
split-complementary
#783190 #789031 #319048
monochromatic
#2C1235 #522162 #783190 #9E41BE #B56ECE

Accessibility & contrast

On white

7.95
#783190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#783190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783190
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783190#FFFFFF#000000##FFFFFF
##7831901.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D93
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#77425C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #783190;
/* rgb */ color: rgb(120, 49, 144);
/* oklch */ color: oklch(45.4% 0.159 316.5);
Tailwind
colors: {
  custom: {
    50: '#a26eb1',
    500: '#783190',
    950: '#000000',
  },
}
SCSS
$custom: #783190;
$custom-light: #a26eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#783190",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 284.842,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.15933,
    "h": 316.5
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#783190
secondary
#7BB568
accent
#D94F72
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #783190

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

Preview Lab → · Contrast checker → · Palette generator →

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