#784C8E#784C8E

#784C8E is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.4% C 0.113 H 313.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#784C8E
RGBrgb(120, 76, 142)
HSLhsl(280, 30%, 43%)
HSVhsv(280, 46%, 56%)
CMYKcmyk(15.5%, 46.5%, 0%, 44.3%)
CIE-LABlab(39.77, 31.06, -29.38)
CIE-LCHlch(39.77, 42.76, 316.59°)
OKLaboklab(49.35% 0.0776 -0.0815)
OKLCHoklch(49.35% 0.113 313.6)
XYZxyz(15.2119, 11.1153, 26.9301)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784C8E #628E4C
analogous
#574C8E #784C8E #8E4C83
triadic
#784C8E #8E784C #4C8E78
tetradic
#784C8E #8E574C #628E4C #4C838E
square
#784C8E #8E574C #628E4C #4C838E
split-complementary
#784C8E #838E4C #4C8E57
monochromatic
#35213E #563766 #784C8E #9769AF #B391C4

Accessibility & contrast

On white

6.52
#784C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#784C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784C8E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784C8E#FFFFFF#000000##FFFFFF
##784C8E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#765666
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784c8e;
/* rgb */ color: rgb(120, 76, 142);
/* oklch */ color: oklch(49.4% 0.113 313.6);
Tailwind
colors: {
  custom: {
    50: '#a07faf',
    500: '#784c8e',
    950: '#000000',
  },
}
SCSS
$custom: #784c8e;
$custom-light: #a07faf;
$custom-dark: #000000;
JSON
{
  "hex": "#784c8e",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 280,
    "s": 30.275,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.11258,
    "h": 313.6
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#784C8E
secondary
#94B086
accent
#C76183
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#784C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva