#78489F#78489F

#78489F is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.7% C 0.140 H 307.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#78489F
RGBrgb(120, 72, 159)
HSLhsl(273, 38%, 45%)
HSVhsv(273, 55%, 62%)
CMYKcmyk(24.5%, 54.7%, 0%, 37.6%)
CIE-LABlab(39.80, 37.38, -39.59)
CIE-LCHlch(39.80, 54.45, 313.36°)
OKLaboklab(49.67% 0.0855 -0.1112)
OKLCHoklch(49.67% 0.14 307.5)
XYZxyz(16.3198, 11.1312, 34.0830)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78489F #6F9F48
analogous
#4C489F #78489F #9F489A
triadic
#78489F #9F7848 #489F78
tetradic
#78489F #9F4C48 #6F9F48 #489A9F
square
#78489F #9F4C48 #6F9F48 #489A9F
split-complementary
#78489F #9A9F48 #489F4C
monochromatic
#38224B #583575 #78489F #9669BB #B493CE

Accessibility & contrast

On white

6.51
#78489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#78489F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78489F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78489F#FFFFFF#000000##FFFFFF
##78489F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#3C5E9D
Tritanopia (blue-blind)
#72586C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #78489f;
/* rgb */ color: rgb(120, 72, 159);
/* oklch */ color: oklch(49.7% 0.140 307.5);
Tailwind
colors: {
  custom: {
    50: '#a17dbc',
    500: '#78489f',
    950: '#000000',
  },
}
SCSS
$custom: #78489f;
$custom-light: #a17dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#78489f",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 273.103,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.14023,
    "h": 307.5
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#78489F
secondary
#9FBA89
accent
#CE5A8E
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #78489F

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

Preview Lab → · Contrast checker → · Palette generator →

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