#784396#784396

#784396 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.3% C 0.138 H 311.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#784396
RGBrgb(120, 67, 150)
HSLhsl(278, 38%, 43%)
HSVhsv(278, 55%, 59%)
CMYKcmyk(20%, 55.3%, 0%, 41.2%)
CIE-LABlab(38.22, 38.04, -36.69)
CIE-LCHlch(38.22, 52.85, 316.04°)
OKLaboklab(48.34% 0.0918 -0.1027)
OKLCHoklch(48.34% 0.138 311.8)
XYZxyz(15.2569, 10.2097, 30.0152)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784396 #619643
analogous
#4E4396 #784396 #96438B
triadic
#784396 #967843 #439678
tetradic
#784396 #964E43 #619643 #438B96
square
#784396 #964E43 #619643 #438B96
split-complementary
#784396 #8B9643 #43964E
monochromatic
#341D41 #56306C #784396 #975FB7 #B389CA

Accessibility & contrast

On white

6.90
#784396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#784396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784396
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784396#FFFFFF#000000##FFFFFF
##7843961.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#755166
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #784396;
/* rgb */ color: rgb(120, 67, 150);
/* oklch */ color: oklch(48.3% 0.138 311.8);
Tailwind
colors: {
  custom: {
    50: '#a179b5',
    500: '#784396',
    950: '#000000',
  },
}
SCSS
$custom: #784396;
$custom-light: #a179b5;
$custom-dark: #000000;
JSON
{
  "hex": "#784396",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 278.313,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.13777,
    "h": 311.8
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#784396
secondary
#93B57F
accent
#CE5A84
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784396

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

Preview Lab → · Contrast checker → · Palette generator →

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