#782B91#782B91

#782B91 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.169 H 316.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#782B91
RGBrgb(120, 43, 145)
HSLhsl(285, 54%, 37%)
HSVhsv(285, 70%, 57%)
CMYKcmyk(17.2%, 70.3%, 0%, 43.1%)
CIE-LABlab(33.49, 48.96, -41.18)
CIE-LCHlch(33.49, 63.98, 319.93°)
OKLaboklab(44.81% 0.1226 -0.1157)
OKLCHoklch(44.81% 0.169 316.7)
XYZxyz(13.7197, 7.7657, 27.5588)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B91 #44912B
analogous
#452B91 #782B91 #912B77
triadic
#782B91 #91782B #2B9178
tetradic
#782B91 #91452B #44912B #2B7791
square
#782B91 #91452B #44912B #2B7791
split-complementary
#782B91 #77912B #2B9145
monochromatic
#2A0F33 #511D62 #782B91 #9F39C0 #B765D1

Accessibility & contrast

On white

8.23
#782B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#782B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B91
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B91#FFFFFF#000000##FFFFFF
##782B911.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#2C518F
Tritanopia (blue-blind)
#773F5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782b91;
/* rgb */ color: rgb(120, 43, 145);
/* oklch */ color: oklch(44.8% 0.169 316.7);
Tailwind
colors: {
  custom: {
    50: '#a26bb2',
    500: '#782b91',
    950: '#000000',
  },
}
SCSS
$custom: #782b91;
$custom-light: #a26bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#782b91",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 285.294,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.16857,
    "h": 316.7
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#782B91
secondary
#76B860
accent
#DE4A6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782B91

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

Preview Lab → · Contrast checker → · Palette generator →

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