#784271#784271

#784271 is a mid, moderate purple. Relative luminance 0.091; OKLCH L 46.2% C 0.099 H 331.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#784271
RGBrgb(120, 66, 113)
HSLhsl(308, 29%, 36%)
HSVhsv(308, 45%, 47%)
CMYKcmyk(0%, 45%, 5.8%, 52.9%)
CIE-LABlab(36.14, 30.70, -17.17)
CIE-LCHlch(36.14, 35.17, 330.78°)
OKLaboklab(46.19% 0.0873 -0.0465)
OKLCHoklch(46.19% 0.099 331.9)
XYZxyz(12.6745, 9.0824, 16.7051)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784271 #427849
analogous
#644278 #784271 #784256
triadic
#784271 #717842 #427178
tetradic
#784271 #786442 #427849 #425678
square
#784271 #786442 #427849 #425678
split-complementary
#784271 #567842 #427864
monochromatic
#291727 #512C4C #784271 #9F5896 #B77DB0

Accessibility & contrast

On white

7.46
#784271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#784271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784271
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784271#FFFFFF#000000##FFFFFF
##7842711.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415073
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#7C4554
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #784271;
/* rgb */ color: rgb(120, 66, 113);
/* oklch */ color: oklch(46.2% 0.099 331.9);
Tailwind
colors: {
  custom: {
    50: '#a0789a',
    500: '#784271',
    950: '#000000',
  },
}
SCSS
$custom: #784271;
$custom-light: #a0789a;
$custom-dark: #000000;
JSON
{
  "hex": "#784271",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 307.778,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.09894,
    "h": 331.9
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#784271
secondary
#73A279
accent
#C56F62
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #784271

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

Preview Lab → · Contrast checker → · Palette generator →

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