#78489B#78489B

#78489B is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.4% C 0.135 H 309.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#78489B
RGBrgb(120, 72, 155)
HSLhsl(275, 37%, 45%)
HSVhsv(275, 54%, 61%)
CMYKcmyk(22.6%, 53.5%, 0%, 39.2%)
CIE-LABlab(39.57, 36.42, -37.55)
CIE-LCHlch(39.57, 52.31, 314.12°)
OKLaboklab(49.43% 0.0852 -0.1052)
OKLCHoklch(49.43% 0.135 309)
XYZxyz(15.9783, 10.9946, 32.2844)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78489B #6B9B48
analogous
#4F489B #78489B #9B4895
triadic
#78489B #9B7848 #489B78
tetradic
#78489B #9B4F48 #6B9B48 #48959B
square
#78489B #9B4F48 #6B9B48 #48959B
split-complementary
#78489B #959B48 #489B4F
monochromatic
#372147 #583571 #78489B #9668B9 #B391CC

Accessibility & contrast

On white

6.56
#78489B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#78489B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78489B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78489B#FFFFFF#000000##FFFFFF
##78489B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#3F5E99
Tritanopia (blue-blind)
#73566A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #78489b;
/* rgb */ color: rgb(120, 72, 155);
/* oklch */ color: oklch(49.4% 0.135 309.0);
Tailwind
colors: {
  custom: {
    50: '#a17db9',
    500: '#78489b',
    950: '#000000',
  },
}
SCSS
$custom: #78489b;
$custom-light: #a17db9;
$custom-dark: #000000;
JSON
{
  "hex": "#78489b",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 274.699,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49429,
    "c": 0.13538,
    "h": 309
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#78489B
secondary
#9CB887
accent
#CD5B8B
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #78489B

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

Preview Lab → · Contrast checker → · Palette generator →

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