#784182#784182

#784182 is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.9% C 0.118 H 321.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#784182
RGBrgb(120, 65, 130)
HSLhsl(291, 33%, 38%)
HSVhsv(291, 50%, 51%)
CMYKcmyk(7.7%, 50%, 0%, 49%)
CIE-LABlab(36.72, 34.71, -26.83)
CIE-LCHlch(36.72, 43.87, 322.29°)
OKLaboklab(46.88% 0.0925 -0.0741)
OKLCHoklch(46.88% 0.118 321.3)
XYZxyz(13.6648, 9.3859, 22.2066)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784182 #4B8241
analogous
#574182 #784182 #82416B
triadic
#784182 #827841 #418278
tetradic
#784182 #825741 #4B8241 #416B82
square
#784182 #825741 #4B8241 #416B82
split-complementary
#784182 #6B8241 #418257
monochromatic
#2D1830 #522D59 #784182 #9D56AA #B57FBF

Accessibility & contrast

On white

7.30
#784182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#784182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784182
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784182#FFFFFF#000000##FFFFFF
##7841821.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#475880
Tritanopia (blue-blind)
#79495B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #784182;
/* rgb */ color: rgb(120, 65, 130);
/* oklch */ color: oklch(46.9% 0.118 321.3);
Tailwind
colors: {
  custom: {
    50: '#a078a6',
    500: '#784182',
    950: '#000000',
  },
}
SCSS
$custom: #784182;
$custom-light: #a078a6;
$custom-dark: #000000;
JSON
{
  "hex": "#784182",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 290.769,
    "s": 33.333,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.11849,
    "h": 321.3
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#784182
secondary
#7DA975
accent
#C95E6F
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784182

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

Preview Lab → · Contrast checker → · Palette generator →

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