#784E95#784E95

#784E95 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 50.1% C 0.118 H 310.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#784E95
RGBrgb(120, 78, 149)
HSLhsl(275, 31%, 45%)
HSVhsv(275, 48%, 58%)
CMYKcmyk(19.5%, 47.7%, 0%, 41.6%)
CIE-LABlab(40.59, 31.53, -32.32)
CIE-LCHlch(40.59, 45.16, 314.29°)
OKLaboklab(50.08% 0.0757 -0.0901)
OKLCHoklch(50.08% 0.118 310.1)
XYZxyz(15.8939, 11.6120, 29.8320)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784E95 #6B954E
analogous
#544E95 #784E95 #954E8F
triadic
#784E95 #95784E #4E9578
tetradic
#784E95 #95544E #6B954E #4E8F95
square
#784E95 #95544E #6B954E #4E8F95
split-complementary
#784E95 #8F954E #4E9554
monochromatic
#372445 #58396D #784E95 #966DB3 #B396C8

Accessibility & contrast

On white

6.32
#784E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#784E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784E95
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784E95#FFFFFF#000000##FFFFFF
##784E951.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#496093
Tritanopia (blue-blind)
#74596A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784e95;
/* rgb */ color: rgb(120, 78, 149);
/* oklch */ color: oklch(50.1% 0.118 310.1);
Tailwind
colors: {
  custom: {
    50: '#a081b4',
    500: '#784e95',
    950: '#000000',
  },
}
SCSS
$custom: #784e95;
$custom-light: #a081b4;
$custom-dark: #000000;
JSON
{
  "hex": "#784e95",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 275.493,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.11767,
    "h": 310.1
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#784E95
secondary
#9CB48A
accent
#C7608A
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784E95

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

Preview Lab → · Contrast checker → · Palette generator →

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