#784181#784181

#784181 is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.8% C 0.117 H 321.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#784181
RGBrgb(120, 65, 129)
HSLhsl(292, 33%, 38%)
HSVhsv(292, 50%, 51%)
CMYKcmyk(7%, 49.6%, 0%, 49.4%)
CIE-LABlab(36.67, 34.49, -26.30)
CIE-LCHlch(36.67, 43.37, 322.68°)
OKLaboklab(46.83% 0.0923 -0.0726)
OKLCHoklch(46.83% 0.117 321.8)
XYZxyz(13.5980, 9.3592, 21.8549)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784181 #4A8141
analogous
#584181 #784181 #81416A
triadic
#784181 #817841 #418178
tetradic
#784181 #815841 #4A8141 #416A81
square
#784181 #815841 #4A8141 #416A81
split-complementary
#784181 #6A8141 #418158
monochromatic
#2C1830 #522C58 #784181 #9E56AA #B57EBE

Accessibility & contrast

On white

7.31
#784181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#784181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784181
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784181#FFFFFF#000000##FFFFFF
##7841811.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#48587F
Tritanopia (blue-blind)
#79495B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #784181;
/* rgb */ color: rgb(120, 65, 129);
/* oklch */ color: oklch(46.8% 0.117 321.8);
Tailwind
colors: {
  custom: {
    50: '#a078a6',
    500: '#784181',
    950: '#000000',
  },
}
SCSS
$custom: #784181;
$custom-light: #a078a6;
$custom-dark: #000000;
JSON
{
  "hex": "#784181",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 291.563,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46827,
    "c": 0.1174,
    "h": 321.8
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#784181
secondary
#7CA975
accent
#C95F6E
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784181

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

Preview Lab → · Contrast checker → · Palette generator →

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