#784284#784284

#784284 is a mid, moderate purple. Relative luminance 0.096; OKLCH L 47.1% C 0.119 H 320.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#784284
RGBrgb(120, 66, 132)
HSLhsl(289, 33%, 39%)
HSVhsv(289, 50%, 52%)
CMYKcmyk(9.1%, 50%, 0%, 48.2%)
CIE-LABlab(37.03, 34.57, -27.57)
CIE-LCHlch(37.03, 44.22, 321.43°)
OKLaboklab(47.15% 0.0913 -0.0762)
OKLCHoklch(47.15% 0.119 320.1)
XYZxyz(13.8583, 9.5560, 22.9398)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784284 #4E8442
analogous
#574284 #784284 #84426F
triadic
#784284 #847842 #428478
tetradic
#784284 #845742 #4E8442 #426F84
square
#784284 #845742 #4E8442 #426F84
split-complementary
#784284 #6F8442 #428457
monochromatic
#2E1932 #532E5B #784284 #9C58AB #B481C0

Accessibility & contrast

On white

7.21
#784284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#784284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784284
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784284#FFFFFF#000000##FFFFFF
##7842841.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#475982
Tritanopia (blue-blind)
#794B5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784284;
/* rgb */ color: rgb(120, 66, 132);
/* oklch */ color: oklch(47.1% 0.119 320.1);
Tailwind
colors: {
  custom: {
    50: '#a078a8',
    500: '#784284',
    950: '#000000',
  },
}
SCSS
$custom: #784284;
$custom-light: #a078a8;
$custom-dark: #000000;
JSON
{
  "hex": "#784284",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 289.091,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.11891,
    "h": 320.1
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#784284
secondary
#81AB77
accent
#C95E72
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784284

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

Preview Lab → · Contrast checker → · Palette generator →

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