#784EA9#784EA9

#784EA9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.143 H 303.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#784EA9
RGBrgb(120, 78, 169)
HSLhsl(268, 37%, 48%)
HSVhsv(268, 54%, 66%)
CMYKcmyk(29%, 53.8%, 0%, 33.7%)
CIE-LABlab(41.70, 36.45, -42.52)
CIE-LCHlch(41.70, 56.01, 310.60°)
OKLaboklab(51.26% 0.0778 -0.1198)
OKLCHoklch(51.26% 0.143 303)
XYZxyz(17.6299, 12.3064, 38.9750)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EA9 #7FA94E
analogous
#4E51A9 #784EA9 #A54EA9
triadic
#784EA9 #A9784E #4EA978
tetradic
#784EA9 #A94E51 #7FA94E #4EA9A5
square
#784EA9 #A94E51 #7FA94E #4EA9A5
split-complementary
#784EA9 #A9A54E #51A94E
monochromatic
#3D2755 #5A3B7F #784EA9 #9775BF #B79FD3

Accessibility & contrast

On white

6.07
#784EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#784EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EA9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EA9#FFFFFF#000000##FFFFFF
##784EA91.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AC
Deuteranopia (green-blind)
#3B62A7
Tritanopia (blue-blind)
#6F5F74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784ea9;
/* rgb */ color: rgb(120, 78, 169);
/* oklch */ color: oklch(51.3% 0.143 303.0);
Tailwind
colors: {
  custom: {
    50: '#a281c3',
    500: '#784ea9',
    950: '#000000',
  },
}
SCSS
$custom: #784ea9;
$custom-light: #a281c3;
$custom-dark: #000000;
JSON
{
  "hex": "#784ea9",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 267.692,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.14287,
    "h": 303
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#784EA9
secondary
#ABBF93
accent
#CD5B98
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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