#784187#784187

#784187 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.2% C 0.124 H 318.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#784187
RGBrgb(120, 65, 135)
HSLhsl(287, 35%, 39%)
HSVhsv(287, 52%, 53%)
CMYKcmyk(11.1%, 51.9%, 0%, 47.1%)
CIE-LABlab(36.97, 35.78, -29.51)
CIE-LCHlch(36.97, 46.38, 320.49°)
OKLaboklab(47.15% 0.0932 -0.0818)
OKLCHoklch(47.15% 0.124 318.7)
XYZxyz(14.0086, 9.5234, 24.0173)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784187 #508741
analogous
#554187 #784187 #874173
triadic
#784187 #877841 #418778
tetradic
#784187 #875541 #508741 #417387
square
#784187 #875541 #508741 #417387
split-complementary
#784187 #738741 #418755
monochromatic
#2F1934 #532D5E #784187 #9B57AE #B480C2

Accessibility & contrast

On white

7.23
#784187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#784187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784187
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784187#FFFFFF#000000##FFFFFF
##7841871.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#784B5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784187;
/* rgb */ color: rgb(120, 65, 135);
/* oklch */ color: oklch(47.2% 0.124 318.7);
Tailwind
colors: {
  custom: {
    50: '#a178aa',
    500: '#784187',
    950: '#000000',
  },
}
SCSS
$custom: #784187;
$custom-light: #a178aa;
$custom-dark: #000000;
JSON
{
  "hex": "#784187",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 287.143,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.12402,
    "h": 318.7
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#784187
secondary
#83AD77
accent
#CB5D74
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784187

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

Preview Lab → · Contrast checker → · Palette generator →

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