#784196#784196

#784196 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.141 H 312.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#784196
RGBrgb(120, 65, 150)
HSLhsl(279, 40%, 42%)
HSVhsv(279, 57%, 59%)
CMYKcmyk(20%, 56.7%, 0%, 41.2%)
CIE-LABlab(37.80, 39.15, -37.35)
CIE-LCHlch(37.80, 54.11, 316.35°)
OKLaboklab(48.03% 0.0946 -0.1046)
OKLCHoklch(48.03% 0.141 312.1)
XYZxyz(15.1401, 9.9760, 29.9763)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784196 #5F9641
analogous
#4E4196 #784196 #964189
triadic
#784196 #967841 #419678
tetradic
#784196 #964E41 #5F9641 #418996
square
#784196 #964E41 #5F9641 #418996
split-complementary
#784196 #899641 #41964E
monochromatic
#341C41 #562E6B #784196 #985CB8 #B387CB

Accessibility & contrast

On white

7.01
#784196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#784196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784196
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784196#FFFFFF#000000##FFFFFF
##7841961.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#755065
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #784196;
/* rgb */ color: rgb(120, 65, 150);
/* oklch */ color: oklch(48.0% 0.141 312.1);
Tailwind
colors: {
  custom: {
    50: '#a178b5',
    500: '#784196',
    950: '#000000',
  },
}
SCSS
$custom: #784196;
$custom-light: #a178b5;
$custom-dark: #000000;
JSON
{
  "hex": "#784196",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 278.824,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48032,
    "c": 0.14106,
    "h": 312.1
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#784196
secondary
#91B67D
accent
#CF5882
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784196

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

Preview Lab → · Contrast checker → · Palette generator →

#784196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva