#783282#783282

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

Color values

HEX#783282
RGBrgb(120, 50, 130)
HSLhsl(293, 44%, 35%)
HSVhsv(293, 62%, 51%)
CMYKcmyk(7.7%, 61.5%, 0%, 49%)
CIE-LABlab(33.75, 42.63, -31.51)
CIE-LCHlch(33.75, 53.02, 323.53°)
OKLaboklab(44.7% 0.1141 -0.0875)
OKLCHoklch(44.7% 0.144 322.5)
XYZxyz(12.9152, 7.8866, 21.9568)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783282 #3C8232
analogous
#503282 #783282 #823264
triadic
#783282 #827832 #328278
tetradic
#783282 #825032 #3C8232 #326482
square
#783282 #825032 #3C8232 #326482
split-complementary
#783282 #648232 #328250
monochromatic
#26102A #4F2156 #783282 #A143AE #BA69C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##783282#FFFFFF#000000##FFFFFF
##7832821.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)
#234A84
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#7A3E55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #783282;
/* rgb */ color: rgb(120, 50, 130);
/* oklch */ color: oklch(44.7% 0.144 322.5);
Tailwind
colors: {
  custom: {
    50: '#a16ea7',
    500: '#783282',
    950: '#000000',
  },
}
SCSS
$custom: #783282;
$custom-light: #a16ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#783282",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 292.5,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44697,
    "c": 0.14377,
    "h": 322.5
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#783282
secondary
#6CAD63
accent
#D45464
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #783282

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

Preview Lab → · Contrast checker → · Palette generator →

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