#784F94#784F94

#784F94 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 50.2% C 0.115 H 310.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#784F94
RGBrgb(120, 79, 148)
HSLhsl(276, 30%, 45%)
HSVhsv(276, 47%, 58%)
CMYKcmyk(18.9%, 46.6%, 0%, 42%)
CIE-LABlab(40.77, 30.71, -31.44)
CIE-LCHlch(40.77, 43.95, 314.33°)
OKLaboklab(50.2% 0.0741 -0.0875)
OKLCHoklch(50.2% 0.115 310.3)
XYZxyz(15.8860, 11.7234, 29.4372)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F94 #6B944F
analogous
#564F94 #784F94 #944F8E
triadic
#784F94 #94784F #4F9478
tetradic
#784F94 #94564F #6B944F #4F8E94
square
#784F94 #94564F #6B944F #4F8E94
split-complementary
#784F94 #8E944F #4F9456
monochromatic
#372444 #583A6C #784F94 #966EB2 #B396C7

Accessibility & contrast

On white

6.28
#784F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784F94
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F94#FFFFFF#000000##FFFFFF
##784F941.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E96
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#755A6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784f94;
/* rgb */ color: rgb(120, 79, 148);
/* oklch */ color: oklch(50.2% 0.115 310.3);
Tailwind
colors: {
  custom: {
    50: '#a081b4',
    500: '#784f94',
    950: '#000000',
  },
}
SCSS
$custom: #784f94;
$custom-light: #a081b4;
$custom-dark: #000000;
JSON
{
  "hex": "#784f94",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 275.652,
    "s": 30.396,
    "l": 44.51
  },
  "oklch": {
    "l": 0.502,
    "c": 0.11465,
    "h": 310.3
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784F94

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

Preview Lab → · Contrast checker → · Palette generator →

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