#784285#784285

#784285 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.2% C 0.120 H 319.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#784285
RGBrgb(120, 66, 133)
HSLhsl(288, 34%, 39%)
HSVhsv(288, 50%, 52%)
CMYKcmyk(9.8%, 50.4%, 0%, 47.8%)
CIE-LABlab(37.08, 34.79, -28.11)
CIE-LCHlch(37.08, 44.72, 321.06°)
OKLaboklab(47.2% 0.0914 -0.0778)
OKLCHoklch(47.2% 0.12 319.6)
XYZxyz(13.9270, 9.5835, 23.3019)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784285 #4F8542
analogous
#574285 #784285 #854271
triadic
#784285 #857842 #428578
tetradic
#784285 #855742 #4F8542 #427185
square
#784285 #855742 #4F8542 #427185
split-complementary
#784285 #718542 #428557
monochromatic
#2E1933 #532E5C #784285 #9C58AC #B481C0

Accessibility & contrast

On white

7.20
#784285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#784285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784285
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784285#FFFFFF#000000##FFFFFF
##7842851.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784285;
/* rgb */ color: rgb(120, 66, 133);
/* oklch */ color: oklch(47.2% 0.120 319.6);
Tailwind
colors: {
  custom: {
    50: '#a078a9',
    500: '#784285',
    950: '#000000',
  },
}
SCSS
$custom: #784285;
$custom-light: #a078a9;
$custom-dark: #000000;
JSON
{
  "hex": "#784285",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 288.358,
    "s": 33.668,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.12002,
    "h": 319.6
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#784285
secondary
#82AB78
accent
#CA5E73
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784285

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

Preview Lab → · Contrast checker → · Palette generator →

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