#784397#784397

#784397 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.4% C 0.139 H 311.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#784397
RGBrgb(120, 67, 151)
HSLhsl(278, 39%, 43%)
HSVhsv(278, 56%, 59%)
CMYKcmyk(20.5%, 55.6%, 0%, 40.8%)
CIE-LABlab(38.27, 38.28, -37.20)
CIE-LCHlch(38.27, 53.38, 315.82°)
OKLaboklab(48.4% 0.0919 -0.1042)
OKLCHoklch(48.4% 0.139 311.4)
XYZxyz(15.3378, 10.2421, 30.4411)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784397 #629743
analogous
#4E4397 #784397 #97438C
triadic
#784397 #977843 #439778
tetradic
#784397 #974E43 #629743 #438C97
square
#784397 #974E43 #629743 #438C97
split-complementary
#784397 #8C9743 #43974E
monochromatic
#351D42 #56306D #784397 #975FB8 #B38ACB

Accessibility & contrast

On white

6.89
#784397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#784397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784397
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784397#FFFFFF#000000##FFFFFF
##7843971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#745166
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #784397;
/* rgb */ color: rgb(120, 67, 151);
/* oklch */ color: oklch(48.4% 0.139 311.4);
Tailwind
colors: {
  custom: {
    50: '#a179b6',
    500: '#784397',
    950: '#000000',
  },
}
SCSS
$custom: #784397;
$custom-light: #a179b6;
$custom-dark: #000000;
JSON
{
  "hex": "#784397",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 277.857,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.13894,
    "h": 311.4
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#784397
secondary
#94B680
accent
#CE5985
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784397

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

Preview Lab → · Contrast checker → · Palette generator →

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