#782883#782883

#782883 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.159 H 322.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#782883
RGBrgb(120, 40, 131)
HSLhsl(293, 53%, 34%)
HSVhsv(293, 69%, 51%)
CMYKcmyk(8.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(32.15, 47.43, -34.68)
CIE-LCHlch(32.15, 58.75, 323.83°)
OKLaboklab(43.56% 0.1266 -0.0967)
OKLCHoklch(43.56% 0.159 322.6)
XYZxyz(12.6008, 7.1500, 22.1847)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782883 #338328
analogous
#4A2883 #782883 #832860
triadic
#782883 #837828 #288378
tetradic
#782883 #834A28 #338328 #286083
square
#782883 #834A28 #338328 #286083
split-complementary
#782883 #608328 #28834A
monochromatic
#220B25 #4D1A54 #782883 #A336B2 #BE59CC

Accessibility & contrast

On white

8.64
#782883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#782883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782883
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782883#FFFFFF#000000##FFFFFF
##7828831.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#7A3752
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782883;
/* rgb */ color: rgb(120, 40, 131);
/* oklch */ color: oklch(43.6% 0.159 322.6);
Tailwind
colors: {
  custom: {
    50: '#a269a7',
    500: '#782883',
    950: '#000000',
  },
}
SCSS
$custom: #782883;
$custom-light: #a269a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782883",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 292.747,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.15928,
    "h": 322.6
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#782883
secondary
#60B155
accent
#DD4B5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782883

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

Preview Lab → · Contrast checker → · Palette generator →

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