#782A92#782A92

#782A92 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.171 H 316.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#782A92
RGBrgb(120, 42, 146)
HSLhsl(285, 55%, 37%)
HSVhsv(285, 71%, 57%)
CMYKcmyk(17.8%, 71.2%, 0%, 42.7%)
CIE-LABlab(33.40, 49.60, -41.94)
CIE-LCHlch(33.40, 64.95, 319.79°)
OKLaboklab(44.77% 0.1236 -0.1179)
OKLCHoklch(44.77% 0.171 316.4)
XYZxyz(13.7612, 7.7249, 27.9547)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A92 #44922A
analogous
#442A92 #782A92 #922A78
triadic
#782A92 #92782A #2A9278
tetradic
#782A92 #92442A #44922A #2A7892
square
#782A92 #92442A #44922A #2A7892
split-complementary
#782A92 #78922A #2A9244
monochromatic
#2A0F33 #511C62 #782A92 #9F38C2 #B764D2

Accessibility & contrast

On white

8.25
#782A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#782A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A92
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A92#FFFFFF#000000##FFFFFF
##782A921.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#763F5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782a92;
/* rgb */ color: rgb(120, 42, 146);
/* oklch */ color: oklch(44.8% 0.171 316.4);
Tailwind
colors: {
  custom: {
    50: '#a26bb2',
    500: '#782a92',
    950: '#000000',
  },
}
SCSS
$custom: #782a92;
$custom-light: #a26bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#782a92",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 285,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.17084,
    "h": 316.4
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#782A92
secondary
#76B85F
accent
#DF496F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782A92

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

Preview Lab → · Contrast checker → · Palette generator →

#782A92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva