#782985#782985

#782985 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.160 H 321.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#782985
RGBrgb(120, 41, 133)
HSLhsl(292, 53%, 34%)
HSVhsv(292, 69%, 52%)
CMYKcmyk(9.8%, 69.2%, 0%, 47.8%)
CIE-LABlab(32.42, 47.39, -35.48)
CIE-LCHlch(32.42, 59.20, 323.18°)
OKLaboklab(43.8% 0.1254 -0.099)
OKLCHoklch(43.8% 0.16 321.7)
XYZxyz(12.7718, 7.2731, 22.9169)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782985 #368529
analogous
#4A2985 #782985 #852964
triadic
#782985 #857829 #298578
tetradic
#782985 #854A29 #368529 #296485
square
#782985 #854A29 #368529 #296485
split-complementary
#782985 #648529 #29854A
monochromatic
#240C27 #4E1B56 #782985 #A237B4 #BD5CCD

Accessibility & contrast

On white

8.56
#782985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#782985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782985
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782985#FFFFFF#000000##FFFFFF
##7829851.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4788
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#793953
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782985;
/* rgb */ color: rgb(120, 41, 133);
/* oklch */ color: oklch(43.8% 0.160 321.7);
Tailwind
colors: {
  custom: {
    50: '#a26aa9',
    500: '#782985',
    950: '#000000',
  },
}
SCSS
$custom: #782985;
$custom-light: #a26aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#782985",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 291.522,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43795,
    "c": 0.15979,
    "h": 321.7
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#782985
secondary
#64B258
accent
#DC4C60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782985

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

Preview Lab → · Contrast checker → · Palette generator →

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