#784597#784597

#784597 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.7% C 0.136 H 311.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#784597
RGBrgb(120, 69, 151)
HSLhsl(277, 37%, 43%)
HSVhsv(277, 54%, 59%)
CMYKcmyk(20.5%, 54.3%, 0%, 40.8%)
CIE-LABlab(38.70, 37.16, -36.53)
CIE-LCHlch(38.70, 52.11, 315.49°)
OKLaboklab(48.71% 0.0891 -0.1022)
OKLCHoklch(48.71% 0.136 311.1)
XYZxyz(15.4587, 10.4840, 30.4814)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784597 #649745
analogous
#4F4597 #784597 #97458D
triadic
#784597 #977845 #459778
tetradic
#784597 #974F45 #649745 #458D97
square
#784597 #974F45 #649745 #458D97
split-complementary
#784597 #8D9745 #45974F
monochromatic
#351F43 #57326D #784597 #9762B7 #B38CCA

Accessibility & contrast

On white

6.78
#784597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#784597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784597
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784597#FFFFFF#000000##FFFFFF
##7845971.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599A
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#745367
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #784597;
/* rgb */ color: rgb(120, 69, 151);
/* oklch */ color: oklch(48.7% 0.136 311.1);
Tailwind
colors: {
  custom: {
    50: '#a17bb6',
    500: '#784597',
    950: '#000000',
  },
}
SCSS
$custom: #784597;
$custom-light: #a17bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#784597",
  "rgb": {
    "r": 120,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 277.317,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.13561,
    "h": 311.1
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#784597
secondary
#96B682
accent
#CD5B86
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784597

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

Preview Lab → · Contrast checker → · Palette generator →

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