#783182#783182

#783182 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.145 H 322.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#783182
RGBrgb(120, 49, 130)
HSLhsl(293, 45%, 35%)
HSVhsv(293, 62%, 51%)
CMYKcmyk(7.7%, 62.3%, 0%, 49%)
CIE-LABlab(33.57, 43.12, -31.80)
CIE-LCHlch(33.57, 53.58, 323.60°)
OKLaboklab(44.57% 0.1154 -0.0883)
OKLCHoklch(44.57% 0.145 322.6)
XYZxyz(12.8729, 7.8021, 21.9427)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783182 #3B8231
analogous
#503182 #783182 #823163
triadic
#783182 #827831 #318278
tetradic
#783182 #825031 #3B8231 #316382
square
#783182 #825031 #3B8231 #316382
split-complementary
#783182 #638231 #318250
monochromatic
#260F29 #4F2056 #783182 #A142AE #BA68C6

Accessibility & contrast

On white

8.20
#783182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#783182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783182
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783182#FFFFFF#000000##FFFFFF
##7831821.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A84
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#7A3D55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #783182;
/* rgb */ color: rgb(120, 49, 130);
/* oklch */ color: oklch(44.6% 0.145 322.6);
Tailwind
colors: {
  custom: {
    50: '#a16ea7',
    500: '#783182',
    950: '#000000',
  },
}
SCSS
$custom: #783182;
$custom-light: #a16ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#783182",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 292.593,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44567,
    "c": 0.14532,
    "h": 322.6
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#783182
secondary
#6BAD62
accent
#D55363
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #783182

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

Preview Lab → · Contrast checker → · Palette generator →

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