#782485#782485

#782485 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.166 H 322.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#782485
RGBrgb(120, 36, 133)
HSLhsl(292, 57%, 33%)
HSVhsv(292, 73%, 52%)
CMYKcmyk(9.8%, 72.9%, 0%, 47.8%)
CIE-LABlab(31.69, 49.45, -36.65)
CIE-LCHlch(31.69, 61.55, 323.46°)
OKLaboklab(43.27% 0.131 -0.1024)
OKLCHoklch(43.27% 0.166 322)
XYZxyz(12.6098, 6.9490, 22.8628)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782485 #318524
analogous
#472485 #782485 #852461
triadic
#782485 #857824 #248578
tetradic
#782485 #854724 #318524 #246185
square
#782485 #854724 #318524 #246185
split-complementary
#782485 #618524 #248547
monochromatic
#210A25 #4D1755 #782485 #A331B5 #C053D0

Accessibility & contrast

On white

8.79
#782485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#782485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782485
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782485#FFFFFF#000000##FFFFFF
##7824851.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#793652
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782485;
/* rgb */ color: rgb(120, 36, 133);
/* oklch */ color: oklch(43.3% 0.166 322.0);
Tailwind
colors: {
  custom: {
    50: '#a267a9',
    500: '#782485',
    950: '#000000',
  },
}
SCSS
$custom: #782485;
$custom-light: #a267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#782485",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 291.959,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.16624,
    "h": 322
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#782485
secondary
#5EB450
accent
#E1475C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782485

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

Preview Lab → · Contrast checker → · Palette generator →

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