#782E85#782E85

#782E85 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.153 H 321.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#782E85
RGBrgb(120, 46, 133)
HSLhsl(291, 49%, 35%)
HSVhsv(291, 65%, 52%)
CMYKcmyk(9.8%, 65.4%, 0%, 47.8%)
CIE-LABlab(33.22, 45.15, -34.20)
CIE-LCHlch(33.22, 56.64, 322.85°)
OKLaboklab(44.38% 0.1194 -0.0953)
OKLCHoklch(44.38% 0.153 321.4)
XYZxyz(12.9559, 7.6412, 22.9782)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782E85 #3B852E
analogous
#4C2E85 #782E85 #852E67
triadic
#782E85 #85782E #2E8578
tetradic
#782E85 #854C2E #3B852E #2E6785
square
#782E85 #854C2E #3B852E #2E6785
split-complementary
#782E85 #67852E #2E854C
monochromatic
#260F2A #4F1E58 #782E85 #A13EB2 #BA64C9

Accessibility & contrast

On white

8.31
#782E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#782E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782E85
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782E85#FFFFFF#000000##FFFFFF
##782E851.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184988
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#793C55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782e85;
/* rgb */ color: rgb(120, 46, 133);
/* oklch */ color: oklch(44.4% 0.153 321.4);
Tailwind
colors: {
  custom: {
    50: '#a26ca9',
    500: '#782e85',
    950: '#000000',
  },
}
SCSS
$custom: #782e85;
$custom-light: #a26ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#782e85",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 291.034,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.15276,
    "h": 321.4
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#782E85
secondary
#6BB05F
accent
#D85064
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782E85

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

Preview Lab → · Contrast checker → · Palette generator →

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