#784282#784282

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

Color values

HEX#784282
RGBrgb(120, 66, 130)
HSLhsl(291, 33%, 38%)
HSVhsv(291, 49%, 51%)
CMYKcmyk(7.7%, 49.2%, 0%, 49%)
CIE-LABlab(36.93, 34.14, -26.50)
CIE-LCHlch(36.93, 43.22, 322.19°)
OKLaboklab(47.04% 0.0909 -0.0731)
OKLCHoklch(47.04% 0.117 321.2)
XYZxyz(13.7227, 9.5018, 22.2259)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784282 #4C8242
analogous
#584282 #784282 #82426C
triadic
#784282 #827842 #428278
tetradic
#784282 #825842 #4C8242 #426C82
square
#784282 #825842 #4C8242 #426C82
split-complementary
#784282 #6C8242 #428258
monochromatic
#2D1931 #532D59 #784282 #9D57AA #B580BE

Accessibility & contrast

On white

7.24
#784282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #784282
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784282#FFFFFF#000000##FFFFFF
##7842821.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#485980
Tritanopia (blue-blind)
#794A5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784282;
/* rgb */ color: rgb(120, 66, 130);
/* oklch */ color: oklch(47.0% 0.117 321.2);
Tailwind
colors: {
  custom: {
    50: '#a078a6',
    500: '#784282',
    950: '#000000',
  },
}
SCSS
$custom: #784282;
$custom-light: #a078a6;
$custom-dark: #000000;
JSON
{
  "hex": "#784282",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 290.625,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.11669,
    "h": 321.2
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#784282
secondary
#7EA977
accent
#C95F70
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784282

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

Preview Lab → · Contrast checker → · Palette generator →

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