#782885#782885

#782885 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.161 H 321.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#782885
RGBrgb(120, 40, 133)
HSLhsl(292, 54%, 34%)
HSVhsv(292, 70%, 52%)
CMYKcmyk(9.8%, 69.9%, 0%, 47.8%)
CIE-LABlab(32.27, 47.82, -35.73)
CIE-LCHlch(32.27, 59.69, 323.23°)
OKLaboklab(43.69% 0.1266 -0.0997)
OKLCHoklch(43.69% 0.161 321.8)
XYZxyz(12.7377, 7.2048, 22.9055)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782885 #358528
analogous
#4A2885 #782885 #852864
triadic
#782885 #857828 #288578
tetradic
#782885 #854A28 #358528 #286485
square
#782885 #854A28 #358528 #286485
split-complementary
#782885 #648528 #28854A
monochromatic
#230C27 #4E1A56 #782885 #A236B4 #BD5ACD

Accessibility & contrast

On white

8.60
#782885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#782885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782885
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782885#FFFFFF#000000##FFFFFF
##7828851.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4688
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#793853
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782885;
/* rgb */ color: rgb(120, 40, 133);
/* oklch */ color: oklch(43.7% 0.161 321.8);
Tailwind
colors: {
  custom: {
    50: '#a269a9',
    500: '#782885',
    950: '#000000',
  },
}
SCSS
$custom: #782885;
$custom-light: #a269a9;
$custom-dark: #000000;
JSON
{
  "hex": "#782885",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 291.613,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43686,
    "c": 0.16113,
    "h": 321.8
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#782885
secondary
#63B356
accent
#DD4B5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782885

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

Preview Lab → · Contrast checker → · Palette generator →

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