#784288#784288

#784288 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.4% C 0.123 H 318.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#784288
RGBrgb(120, 66, 136)
HSLhsl(286, 35%, 40%)
HSVhsv(286, 51%, 53%)
CMYKcmyk(11.8%, 51.5%, 0%, 46.7%)
CIE-LABlab(37.24, 35.44, -29.70)
CIE-LCHlch(37.24, 46.24, 320.03°)
OKLaboklab(47.37% 0.0918 -0.0824)
OKLCHoklch(47.37% 0.123 318.1)
XYZxyz(14.1373, 9.6676, 24.4091)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784288 #528842
analogous
#554288 #784288 #884275
triadic
#784288 #887842 #428878
tetradic
#784288 #885542 #528842 #427588
square
#784288 #885542 #528842 #427588
split-complementary
#784288 #758842 #428855
monochromatic
#2F1A36 #542E5F #784288 #9B59AE #B482C2

Accessibility & contrast

On white

7.16
#784288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#784288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784288
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784288#FFFFFF#000000##FFFFFF
##7842881.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#455986
Tritanopia (blue-blind)
#784C5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #784288;
/* rgb */ color: rgb(120, 66, 136);
/* oklch */ color: oklch(47.4% 0.123 318.1);
Tailwind
colors: {
  custom: {
    50: '#a178ab',
    500: '#784288',
    950: '#000000',
  },
}
SCSS
$custom: #784288;
$custom-light: #a178ab;
$custom-dark: #000000;
JSON
{
  "hex": "#784288",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 286.286,
    "s": 34.653,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.12338,
    "h": 318.1
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#784288
secondary
#85AD79
accent
#CB5D76
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784288

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

Preview Lab → · Contrast checker → · Palette generator →

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