#782B85#782B85

#782B85 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.157 H 321.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#782B85
RGBrgb(120, 43, 133)
HSLhsl(291, 51%, 35%)
HSVhsv(291, 68%, 52%)
CMYKcmyk(9.8%, 67.7%, 0%, 47.8%)
CIE-LABlab(32.73, 46.52, -34.99)
CIE-LCHlch(32.73, 58.20, 323.05°)
OKLaboklab(44.02% 0.1231 -0.0976)
OKLCHoklch(44.02% 0.157 321.6)
XYZxyz(12.8428, 7.4149, 22.9405)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B85 #38852B
analogous
#4B2B85 #782B85 #852B65
triadic
#782B85 #85782B #2B8578
tetradic
#782B85 #854B2B #38852B #2B6585
square
#782B85 #854B2B #38852B #2B6585
split-complementary
#782B85 #65852B #2B854B
monochromatic
#250D29 #4E1C57 #782B85 #A23AB3 #BC5FCB

Accessibility & contrast

On white

8.46
#782B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#782B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B85
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B85#FFFFFF#000000##FFFFFF
##782B851.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#793A54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782b85;
/* rgb */ color: rgb(120, 43, 133);
/* oklch */ color: oklch(44.0% 0.157 321.6);
Tailwind
colors: {
  custom: {
    50: '#a26ba9',
    500: '#782b85',
    950: '#000000',
  },
}
SCSS
$custom: #782b85;
$custom-light: #a26ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#782b85",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 291.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4402,
    "c": 0.15705,
    "h": 321.6
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#782B85
secondary
#67B15B
accent
#DB4D62
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782B85

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

Preview Lab → · Contrast checker → · Palette generator →

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