#784283#784283

#784283 is a mid, moderate purple. Relative luminance 0.095; OKLCH L 47.1% C 0.118 H 320.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#784283
RGBrgb(120, 66, 131)
HSLhsl(290, 33%, 39%)
HSVhsv(290, 50%, 51%)
CMYKcmyk(8.4%, 49.6%, 0%, 48.6%)
CIE-LABlab(36.98, 34.36, -27.03)
CIE-LCHlch(36.98, 43.72, 321.80°)
OKLaboklab(47.1% 0.0911 -0.0747)
OKLCHoklch(47.1% 0.118 320.6)
XYZxyz(13.7902, 9.5287, 22.5812)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784283 #4D8342
analogous
#574283 #784283 #83426D
triadic
#784283 #837842 #428378
tetradic
#784283 #835742 #4D8342 #426D83
square
#784283 #835742 #4D8342 #426D83
split-complementary
#784283 #6D8342 #428357
monochromatic
#2D1932 #532D5A #784283 #9D58AB #B580BF

Accessibility & contrast

On white

7.23
#784283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#784283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784283
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784283#FFFFFF#000000##FFFFFF
##7842831.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#485981
Tritanopia (blue-blind)
#794B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #784283;
/* rgb */ color: rgb(120, 66, 131);
/* oklch */ color: oklch(47.1% 0.118 320.6);
Tailwind
colors: {
  custom: {
    50: '#a078a7',
    500: '#784283',
    950: '#000000',
  },
}
SCSS
$custom: #784283;
$custom-light: #a078a7;
$custom-dark: #000000;
JSON
{
  "hex": "#784283",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 289.846,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47095,
    "c": 0.1178,
    "h": 320.6
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#784283
secondary
#7FAA77
accent
#C95F71
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784283

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

Preview Lab → · Contrast checker → · Palette generator →

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