#784277#784277

#784277 is a mid, moderate purple. Relative luminance 0.092; OKLCH L 46.5% C 0.105 H 327.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#784277
RGBrgb(120, 66, 119)
HSLhsl(301, 29%, 36%)
HSVhsv(301, 45%, 47%)
CMYKcmyk(0%, 45%, 0.8%, 52.9%)
CIE-LABlab(36.41, 31.87, -20.50)
CIE-LCHlch(36.41, 37.90, 327.25°)
OKLaboklab(46.48% 0.0888 -0.056)
OKLCHoklch(46.48% 0.105 327.8)
XYZxyz(13.0235, 9.2221, 18.5432)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784277 #427843
analogous
#5E4278 #784277 #78425C
triadic
#784277 #777842 #427778
tetradic
#784277 #785E42 #427843 #425C78
square
#784277 #785E42 #427843 #425C78
split-complementary
#784277 #5C7842 #42785E
monochromatic
#291729 #512C50 #784277 #9F589E #B77DB6

Accessibility & contrast

On white

7.38
#784277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#784277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784277
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784277#FFFFFF#000000##FFFFFF
##7842771.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5179
Deuteranopia (green-blind)
#4D5875
Tritanopia (blue-blind)
#7B4757
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #784277;
/* rgb */ color: rgb(120, 66, 119);
/* oklch */ color: oklch(46.5% 0.105 327.8);
Tailwind
colors: {
  custom: {
    50: '#a0789e',
    500: '#784277',
    950: '#000000',
  },
}
SCSS
$custom: #784277;
$custom-light: #a0789e;
$custom-dark: #000000;
JSON
{
  "hex": "#784277",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 301.111,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.10493,
    "h": 327.8
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#784277
secondary
#73A274
accent
#C56462
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #784277

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

Preview Lab → · Contrast checker → · Palette generator →

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