#782873#782873

#782873 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.145 H 330.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#782873
RGBrgb(120, 40, 115)
HSLhsl(304, 50%, 31%)
HSVhsv(304, 67%, 47%)
CMYKcmyk(0%, 66.7%, 4.2%, 52.9%)
CIE-LABlab(31.23, 44.43, -26.07)
CIE-LCHlch(31.23, 51.52, 329.60°)
OKLaboklab(42.6% 0.126 -0.0717)
OKLCHoklch(42.6% 0.145 330.4)
XYZxyz(11.5990, 6.7493, 16.9082)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782873 #28782D
analogous
#552878 #782873 #78284B
triadic
#782873 #737828 #287378
tetradic
#782873 #785528 #28782D #284B78
square
#782873 #785528 #28782D #284B78
split-complementary
#782873 #4B7828 #287855
monochromatic
#1C091B #4A1947 #782873 #A6379F #C654BF

Accessibility & contrast

On white

8.94
#782873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#782873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782873
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782873#FFFFFF#000000##FFFFFF
##7828731.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224275
Deuteranopia (green-blind)
#3E4D71
Tritanopia (blue-blind)
#7D314A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782873;
/* rgb */ color: rgb(120, 40, 115);
/* oklch */ color: oklch(42.6% 0.145 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2689b',
    500: '#782873',
    950: '#000000',
  },
}
SCSS
$custom: #782873;
$custom-light: #a2689b;
$custom-dark: #000000;
JSON
{
  "hex": "#782873",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 303.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.426,
    "c": 0.14495,
    "h": 330.4
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#782873
secondary
#52AA57
accent
#DA574E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782873

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

Preview Lab → · Contrast checker → · Palette generator →

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