#78429F#78429F

#78429F is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.150 H 308.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#78429F
RGBrgb(120, 66, 159)
HSLhsl(275, 41%, 44%)
HSVhsv(275, 58%, 62%)
CMYKcmyk(24.5%, 58.5%, 0%, 37.6%)
CIE-LABlab(38.54, 40.71, -41.60)
CIE-LCHlch(38.54, 58.21, 314.38°)
OKLaboklab(48.75% 0.0936 -0.117)
OKLCHoklch(48.75% 0.15 308.7)
XYZxyz(15.9507, 10.3929, 33.9599)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78429F #699F42
analogous
#4A429F #78429F #9F4298
triadic
#78429F #9F7842 #429F78
tetradic
#78429F #9F4A42 #699F42 #42989F
square
#78429F #9F4A42 #699F42 #42989F
split-complementary
#78429F #989F42 #429F4A
monochromatic
#371E49 #573074 #78429F #9761BD #B38CCF

Accessibility & contrast

On white

6.82
#78429F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#78429F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78429F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78429F#FFFFFF#000000##FFFFFF
##78429F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#365B9D
Tritanopia (blue-blind)
#72536A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #78429f;
/* rgb */ color: rgb(120, 66, 159);
/* oklch */ color: oklch(48.7% 0.150 308.7);
Tailwind
colors: {
  custom: {
    50: '#a279bc',
    500: '#78429f',
    950: '#000000',
  },
}
SCSS
$custom: #78429f;
$custom-light: #a279bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78429f",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 274.839,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.14988,
    "h": 308.7
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#78429F
secondary
#9ABA82
accent
#D1578A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #78429F

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

Preview Lab → · Contrast checker → · Palette generator →

#78429F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva