#782870#782870

#782870 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.142 H 332.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#782870
RGBrgb(120, 40, 112)
HSLhsl(306, 50%, 31%)
HSVhsv(306, 67%, 47%)
CMYKcmyk(0%, 66.7%, 6.7%, 52.9%)
CIE-LABlab(31.07, 43.90, -24.41)
CIE-LCHlch(31.07, 50.23, 330.92°)
OKLaboklab(42.43% 0.1257 -0.0669)
OKLCHoklch(42.43% 0.142 332)
XYZxyz(11.4291, 6.6814, 16.0138)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782870 #287830
analogous
#582878 #782870 #782848
triadic
#782870 #707828 #287078
tetradic
#782870 #785828 #287830 #284878
square
#782870 #785828 #287830 #284878
split-complementary
#782870 #487828 #287858
monochromatic
#1C091A #4A1945 #782870 #A6379B #C654BB

Accessibility & contrast

On white

8.99
#782870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#782870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782870
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782870#FFFFFF#000000##FFFFFF
##7828701.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244272
Deuteranopia (green-blind)
#3F4D6E
Tritanopia (blue-blind)
#7D2F48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782870;
/* rgb */ color: rgb(120, 40, 112);
/* oklch */ color: oklch(42.4% 0.142 332.0);
Tailwind
colors: {
  custom: {
    50: '#a26899',
    500: '#782870',
    950: '#000000',
  },
}
SCSS
$custom: #782870;
$custom-light: #a26899;
$custom-dark: #000000;
JSON
{
  "hex": "#782870",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 306,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.14238,
    "h": 332
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#782870
secondary
#52AA5B
accent
#DA5C4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782870

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

Preview Lab → · Contrast checker → · Palette generator →

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