#784F93#784F93

#784F93 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 50.1% C 0.113 H 310.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#784F93
RGBrgb(120, 79, 147)
HSLhsl(276, 30%, 44%)
HSVhsv(276, 46%, 58%)
CMYKcmyk(18.4%, 46.3%, 0%, 42.4%)
CIE-LABlab(40.72, 30.47, -30.92)
CIE-LCHlch(40.72, 43.41, 314.59°)
OKLaboklab(50.15% 0.0739 -0.086)
OKLCHoklch(50.15% 0.113 310.7)
XYZxyz(15.8072, 11.6919, 29.0221)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F93 #6A934F
analogous
#564F93 #784F93 #934F8C
triadic
#784F93 #93784F #4F9378
tetradic
#784F93 #93564F #6A934F #4F8C93
square
#784F93 #93564F #6A934F #4F8C93
split-complementary
#784F93 #8C934F #4F9356
monochromatic
#372443 #583A6B #784F93 #976EB1 #B396C7

Accessibility & contrast

On white

6.29
#784F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#784F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F93
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F93#FFFFFF#000000##FFFFFF
##784F931.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E95
Deuteranopia (green-blind)
#4B6191
Tritanopia (blue-blind)
#755A6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784f93;
/* rgb */ color: rgb(120, 79, 147);
/* oklch */ color: oklch(50.1% 0.113 310.7);
Tailwind
colors: {
  custom: {
    50: '#a081b3',
    500: '#784f93',
    950: '#000000',
  },
}
SCSS
$custom: #784f93;
$custom-light: #a081b3;
$custom-dark: #000000;
JSON
{
  "hex": "#784f93",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 147
  },
  "hsl": {
    "h": 276.176,
    "s": 30.088,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.11338,
    "h": 310.7
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#784F93
secondary
#9BB38B
accent
#C6618A
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784F93

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

Preview Lab → · Contrast checker → · Palette generator →

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