#784CA3#784CA3

#784CA3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.139 H 305.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#784CA3
RGBrgb(120, 76, 163)
HSLhsl(270, 36%, 47%)
HSVhsv(270, 53%, 64%)
CMYKcmyk(26.4%, 53.4%, 0%, 36.1%)
CIE-LABlab(40.91, 36.09, -40.22)
CIE-LCHlch(40.91, 54.04, 311.90°)
OKLaboklab(50.57% 0.0802 -0.113)
OKLCHoklch(50.57% 0.139 305.3)
XYZxyz(16.9396, 11.8064, 36.0297)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CA3 #77A34C
analogous
#4D4CA3 #784CA3 #A34CA3
triadic
#784CA3 #A3784C #4CA378
tetradic
#784CA3 #A34D4C #77A34C #4CA3A3
square
#784CA3 #A34D4C #77A34C #4CA3A3
split-complementary
#784CA3 #A3A34C #4CA34D
monochromatic
#3B2550 #593979 #784CA3 #9770BC #B59AD0

Accessibility & contrast

On white

6.25
#784CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#784CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CA3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CA3#FFFFFF#000000##FFFFFF
##784CA31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#3E61A1
Tritanopia (blue-blind)
#715C70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784ca3;
/* rgb */ color: rgb(120, 76, 163);
/* oklch */ color: oklch(50.6% 0.139 305.3);
Tailwind
colors: {
  custom: {
    50: '#a17fbf',
    500: '#784ca3',
    950: '#000000',
  },
}
SCSS
$custom: #784ca3;
$custom-light: #a17fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#784ca3",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 270.345,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.1386,
    "h": 305.3
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#784CA3
secondary
#A5BC8F
accent
#CC5B93
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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