#782892#782892

#782892 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.173 H 316.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#782892
RGBrgb(120, 40, 146)
HSLhsl(285, 57%, 36%)
HSVhsv(285, 73%, 57%)
CMYKcmyk(17.8%, 72.6%, 0%, 42.7%)
CIE-LABlab(33.11, 50.44, -42.41)
CIE-LCHlch(33.11, 65.90, 319.94°)
OKLaboklab(44.55% 0.1258 -0.1193)
OKLCHoklch(44.55% 0.173 316.5)
XYZxyz(13.6920, 7.5865, 27.9317)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782892 #429228
analogous
#432892 #782892 #922877
triadic
#782892 #927828 #289278
tetradic
#782892 #924328 #429228 #287792
square
#782892 #924328 #429228 #287792
split-complementary
#782892 #779228 #289243
monochromatic
#290E32 #511B62 #782892 #9F35C2 #B761D4

Accessibility & contrast

On white

8.34
#782892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782892
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782892#FFFFFF#000000##FFFFFF
##7828921.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#763E5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782892;
/* rgb */ color: rgb(120, 40, 146);
/* oklch */ color: oklch(44.6% 0.173 316.5);
Tailwind
colors: {
  custom: {
    50: '#a26ab2',
    500: '#782892',
    950: '#000000',
  },
}
SCSS
$custom: #782892;
$custom-light: #a26ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#782892",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 285.283,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44554,
    "c": 0.17334,
    "h": 316.5
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#782892
secondary
#73B95D
accent
#E0486D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782892

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

Preview Lab → · Contrast checker → · Palette generator →

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