#784286#784286

#784286 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.3% C 0.121 H 319.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#784286
RGBrgb(120, 66, 134)
HSLhsl(288, 34%, 39%)
HSVhsv(288, 51%, 53%)
CMYKcmyk(10.4%, 50.7%, 0%, 47.5%)
CIE-LABlab(37.14, 35.00, -28.64)
CIE-LCHlch(37.14, 45.23, 320.71°)
OKLaboklab(47.26% 0.0916 -0.0793)
OKLCHoklch(47.26% 0.121 319.1)
XYZxyz(13.9965, 9.6112, 23.6675)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784286 #508642
analogous
#564286 #784286 #864272
triadic
#784286 #867842 #428678
tetradic
#784286 #865642 #508642 #427286
square
#784286 #865642 #508642 #427286
split-complementary
#784286 #728642 #428656
monochromatic
#2F1A34 #532E5D #784286 #9B58AD #B481C1

Accessibility & contrast

On white

7.19
#784286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #784286
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784286#FFFFFF#000000##FFFFFF
##7842861.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365488
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#784B5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784286;
/* rgb */ color: rgb(120, 66, 134);
/* oklch */ color: oklch(47.3% 0.121 319.1);
Tailwind
colors: {
  custom: {
    50: '#a178a9',
    500: '#784286',
    950: '#000000',
  },
}
SCSS
$custom: #784286;
$custom-light: #a178a9;
$custom-dark: #000000;
JSON
{
  "hex": "#784286",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 287.647,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.12113,
    "h": 319.1
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#784286
secondary
#83AC78
accent
#CA5E74
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784286

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

Preview Lab → · Contrast checker → · Palette generator →

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