#782888#782888

#782888 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.164 H 320.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#782888
RGBrgb(120, 40, 136)
HSLhsl(290, 55%, 35%)
HSVhsv(290, 71%, 53%)
CMYKcmyk(11.8%, 70.6%, 0%, 46.7%)
CIE-LABlab(32.46, 48.41, -37.29)
CIE-LCHlch(32.46, 61.11, 322.39°)
OKLaboklab(43.88% 0.1265 -0.1043)
OKLCHoklch(43.88% 0.164 320.5)
XYZxyz(12.9479, 7.2889, 24.0127)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782888 #388828
analogous
#482888 #782888 #882868
triadic
#782888 #887828 #288878
tetradic
#782888 #884828 #388828 #286888
square
#782888 #884828 #388828 #286888
split-complementary
#782888 #688828 #288848
monochromatic
#250C29 #4E1A59 #782888 #A236B7 #BC5BCF

Accessibility & contrast

On white

8.54
#782888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#782888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782888
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782888#FFFFFF#000000##FFFFFF
##7828881.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02478B
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#793955
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782888;
/* rgb */ color: rgb(120, 40, 136);
/* oklch */ color: oklch(43.9% 0.164 320.5);
Tailwind
colors: {
  custom: {
    50: '#a269ab',
    500: '#782888',
    950: '#000000',
  },
}
SCSS
$custom: #782888;
$custom-light: #a269ab;
$custom-dark: #000000;
JSON
{
  "hex": "#782888",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 290,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.16392,
    "h": 320.5
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#782888
secondary
#67B458
accent
#DE4A63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782888

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

Preview Lab → · Contrast checker → · Palette generator →

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