#78489D#78489D

#78489D is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.138 H 308.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#78489D
RGBrgb(120, 72, 157)
HSLhsl(274, 37%, 45%)
HSVhsv(274, 54%, 62%)
CMYKcmyk(23.6%, 54.1%, 0%, 38.4%)
CIE-LABlab(39.69, 36.90, -38.57)
CIE-LCHlch(39.69, 53.38, 313.73°)
OKLaboklab(49.55% 0.0853 -0.1082)
OKLCHoklch(49.55% 0.138 308.2)
XYZxyz(16.1477, 11.0623, 33.1763)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78489D #6D9D48
analogous
#4D489D #78489D #9D4898
triadic
#78489D #9D7848 #489D78
tetradic
#78489D #9D4D48 #6D9D48 #48989D
square
#78489D #9D4D48 #6D9D48 #48989D
split-complementary
#78489D #989D48 #489D4D
monochromatic
#382249 #583573 #78489D #9668BA #B492CD

Accessibility & contrast

On white

6.54
#78489D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#78489D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78489D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78489D#FFFFFF#000000##FFFFFF
##78489D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA0
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#73576B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #78489d;
/* rgb */ color: rgb(120, 72, 157);
/* oklch */ color: oklch(49.5% 0.138 308.2);
Tailwind
colors: {
  custom: {
    50: '#a17dba',
    500: '#78489d',
    950: '#000000',
  },
}
SCSS
$custom: #78489d;
$custom-light: #a17dba;
$custom-dark: #000000;
JSON
{
  "hex": "#78489d",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 273.882,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.1378,
    "h": 308.2
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#78489D
secondary
#9DB988
accent
#CD5B8C
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #78489D

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

Preview Lab → · Contrast checker → · Palette generator →

#78489D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva