#782487#782487

#782487 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.168 H 321.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#782487
RGBrgb(120, 36, 135)
HSLhsl(291, 58%, 34%)
HSVhsv(291, 73%, 53%)
CMYKcmyk(11.1%, 73.3%, 0%, 47.1%)
CIE-LABlab(31.82, 49.84, -37.69)
CIE-LCHlch(31.82, 62.48, 322.90°)
OKLaboklab(43.4% 0.1309 -0.1054)
OKLCHoklch(43.4% 0.168 321.1)
XYZxyz(12.7493, 7.0048, 23.5975)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782487 #338724
analogous
#462487 #782487 #872464
triadic
#782487 #877824 #248778
tetradic
#782487 #874624 #338724 #246487
square
#782487 #874624 #338724 #246487
split-complementary
#782487 #648724 #248746
monochromatic
#220A26 #4D1757 #782487 #A331B7 #BE54D1

Accessibility & contrast

On white

8.75
#782487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#782487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782487
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782487#FFFFFF#000000##FFFFFF
##7824871.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#793653
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782487;
/* rgb */ color: rgb(120, 36, 135);
/* oklch */ color: oklch(43.4% 0.168 321.1);
Tailwind
colors: {
  custom: {
    50: '#a267aa',
    500: '#782487',
    950: '#000000',
  },
}
SCSS
$custom: #782487;
$custom-light: #a267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782487",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 290.909,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.16804,
    "h": 321.1
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#782487
secondary
#60B551
accent
#E1475E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782487

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

Preview Lab → · Contrast checker → · Palette generator →

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