#784F95#784F95

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

Color values

HEX#784F95
RGBrgb(120, 79, 149)
HSLhsl(275, 31%, 45%)
HSVhsv(275, 47%, 58%)
CMYKcmyk(19.5%, 47%, 0%, 41.6%)
CIE-LABlab(40.82, 30.95, -31.96)
CIE-LCHlch(40.82, 44.49, 314.08°)
OKLaboklab(50.26% 0.0742 -0.089)
OKLCHoklch(50.26% 0.116 309.8)
XYZxyz(15.9655, 11.7552, 29.8559)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F95 #6C954F
analogous
#554F95 #784F95 #954F8F
triadic
#784F95 #95784F #4F9578
tetradic
#784F95 #95554F #6C954F #4F8F95
square
#784F95 #95554F #6C954F #4F8F95
split-complementary
#784F95 #8F954F #4F9555
monochromatic
#382545 #583A6D #784F95 #966FB2 #B397C8

Accessibility & contrast

On white

6.27
#784F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#784F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F95
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F95#FFFFFF#000000##FFFFFF
##784F951.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E97
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#745A6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784f95;
/* rgb */ color: rgb(120, 79, 149);
/* oklch */ color: oklch(50.3% 0.116 309.8);
Tailwind
colors: {
  custom: {
    50: '#a081b4',
    500: '#784f95',
    950: '#000000',
  },
}
SCSS
$custom: #784f95;
$custom-light: #a081b4;
$custom-dark: #000000;
JSON
{
  "hex": "#784f95",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 275.143,
    "s": 30.702,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.1159,
    "h": 309.8
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#784F95
secondary
#9CB48B
accent
#C7618B
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784F95

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

Preview Lab → · Contrast checker → · Palette generator →

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