#782881#782881

#782881 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.157 H 323.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#782881
RGBrgb(120, 40, 129)
HSLhsl(294, 53%, 33%)
HSVhsv(294, 69%, 51%)
CMYKcmyk(7%, 69%, 0%, 49.4%)
CIE-LABlab(32.03, 47.04, -33.62)
CIE-LCHlch(32.03, 57.82, 324.44°)
OKLaboklab(43.43% 0.1266 -0.0936)
OKLCHoklch(43.43% 0.157 323.5)
XYZxyz(12.4666, 7.0964, 21.4777)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782881 #318128
analogous
#4B2881 #782881 #81285D
triadic
#782881 #817828 #288178
tetradic
#782881 #814B28 #318128 #285D81
square
#782881 #814B28 #318128 #285D81
split-complementary
#782881 #5D8128 #28814B
monochromatic
#210B24 #4D1A52 #782881 #A336B0 #C058CB

Accessibility & contrast

On white

8.68
#782881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#782881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782881
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782881#FFFFFF#000000##FFFFFF
##7828811.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124584
Deuteranopia (green-blind)
#364F7F
Tritanopia (blue-blind)
#7A3651
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782881;
/* rgb */ color: rgb(120, 40, 129);
/* oklch */ color: oklch(43.4% 0.157 323.5);
Tailwind
colors: {
  custom: {
    50: '#a269a6',
    500: '#782881',
    950: '#000000',
  },
}
SCSS
$custom: #782881;
$custom-light: #a269a6;
$custom-dark: #000000;
JSON
{
  "hex": "#782881",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 293.933,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.15744,
    "h": 323.5
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#782881
secondary
#5EB054
accent
#DC4C5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782881

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

Preview Lab → · Contrast checker → · Palette generator →

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