#784281#784281

#784281 is a mid, moderate purple. Relative luminance 0.095; OKLCH L 47.0% C 0.116 H 321.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#784281
RGBrgb(120, 66, 129)
HSLhsl(291, 32%, 38%)
HSVhsv(291, 49%, 51%)
CMYKcmyk(7%, 48.8%, 0%, 49.4%)
CIE-LABlab(36.88, 33.93, -25.96)
CIE-LCHlch(36.88, 42.72, 322.58°)
OKLaboklab(46.99% 0.0908 -0.0716)
OKLCHoklch(46.99% 0.116 321.7)
XYZxyz(13.6559, 9.4750, 21.8742)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784281 #4B8142
analogous
#584281 #784281 #81426A
triadic
#784281 #817842 #428178
tetradic
#784281 #815842 #4B8142 #426A81
square
#784281 #815842 #4B8142 #426A81
split-complementary
#784281 #6A8142 #428158
monochromatic
#2D1930 #522D59 #784281 #9D57A9 #B580BE

Accessibility & contrast

On white

7.25
#784281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#784281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784281
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784281#FFFFFF#000000##FFFFFF
##7842811.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#49597F
Tritanopia (blue-blind)
#794A5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784281;
/* rgb */ color: rgb(120, 66, 129);
/* oklch */ color: oklch(47.0% 0.116 321.7);
Tailwind
colors: {
  custom: {
    50: '#a078a6',
    500: '#784281',
    950: '#000000',
  },
}
SCSS
$custom: #784281;
$custom-light: #a078a6;
$custom-dark: #000000;
JSON
{
  "hex": "#784281",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 291.429,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46988,
    "c": 0.11559,
    "h": 321.7
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#784281
secondary
#7DA976
accent
#C85F6E
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784281

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

Preview Lab → · Contrast checker → · Palette generator →

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