#784F8D#784F8D

#784F8D is a mid, moderate violet. Relative luminance 0.115; OKLCH L 49.8% C 0.106 H 313.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#784F8D
RGBrgb(120, 79, 141)
HSLhsl(280, 28%, 43%)
HSVhsv(280, 44%, 55%)
CMYKcmyk(14.9%, 44%, 0%, 44.7%)
CIE-LABlab(40.42, 29.07, -27.75)
CIE-LCHlch(40.42, 40.19, 316.33°)
OKLaboklab(49.82% 0.0728 -0.0769)
OKLCHoklch(49.82% 0.106 313.5)
XYZxyz(15.3486, 11.5085, 26.6069)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F8D #648D4F
analogous
#594F8D #784F8D #8D4F83
triadic
#784F8D #8D784F #4F8D78
tetradic
#784F8D #8D594F #648D4F #4F838D
square
#784F8D #8D594F #648D4F #4F838D
split-complementary
#784F8D #838D4F #4F8D59
monochromatic
#35233F #573966 #784F8D #976CAD #B394C3

Accessibility & contrast

On white

6.36
#784F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#784F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F8D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F8D#FFFFFF#000000##FFFFFF
##784F8D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#765867
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784f8d;
/* rgb */ color: rgb(120, 79, 141);
/* oklch */ color: oklch(49.8% 0.106 313.5);
Tailwind
colors: {
  custom: {
    50: '#a081ae',
    500: '#784f8d',
    950: '#000000',
  },
}
SCSS
$custom: #784f8d;
$custom-light: #a081ae;
$custom-dark: #000000;
JSON
{
  "hex": "#784f8d",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 279.677,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49824,
    "c": 0.10589,
    "h": 313.5
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#784F8D
secondary
#96AF88
accent
#C46384
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#784F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva