#784287#784287

#784287 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.3% C 0.122 H 318.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#784287
RGBrgb(120, 66, 135)
HSLhsl(287, 34%, 39%)
HSVhsv(287, 51%, 53%)
CMYKcmyk(11.1%, 51.1%, 0%, 47.1%)
CIE-LABlab(37.19, 35.22, -29.17)
CIE-LCHlch(37.19, 45.73, 320.37°)
OKLaboklab(47.31% 0.0917 -0.0809)
OKLCHoklch(47.31% 0.122 318.6)
XYZxyz(14.0665, 9.6393, 24.0366)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784287 #518742
analogous
#564287 #784287 #874273
triadic
#784287 #877842 #428778
tetradic
#784287 #875642 #518742 #427387
square
#784287 #875642 #518742 #427387
split-complementary
#784287 #738742 #428756
monochromatic
#2F1A35 #532E5E #784287 #9B59AE #B482C2

Accessibility & contrast

On white

7.17
#784287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #784287
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784287#FFFFFF#000000##FFFFFF
##7842871.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#465985
Tritanopia (blue-blind)
#784C5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784287;
/* rgb */ color: rgb(120, 66, 135);
/* oklch */ color: oklch(47.3% 0.122 318.6);
Tailwind
colors: {
  custom: {
    50: '#a178aa',
    500: '#784287',
    950: '#000000',
  },
}
SCSS
$custom: #784287;
$custom-light: #a178aa;
$custom-dark: #000000;
JSON
{
  "hex": "#784287",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 286.957,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47313,
    "c": 0.12225,
    "h": 318.6
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#784287
secondary
#84AC78
accent
#CA5D75
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784287

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

Preview Lab → · Contrast checker → · Palette generator →

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