#80489F#80489F

#80489F is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.143 H 312.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#80489F
RGBrgb(128, 72, 159)
HSLhsl(279, 38%, 45%)
HSVhsv(279, 55%, 62%)
CMYKcmyk(19.5%, 54.7%, 0%, 37.6%)
CIE-LABlab(40.78, 39.58, -37.97)
CIE-LCHlch(40.78, 54.85, 316.19°)
OKLaboklab(50.61% 0.0959 -0.1062)
OKLCHoklch(50.61% 0.143 312.1)
XYZxyz(17.4764, 11.7275, 34.1372)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80489F #679F48
analogous
#55489F #80489F #9F4892
triadic
#80489F #9F8048 #489F80
tetradic
#80489F #9F5548 #679F48 #48929F
square
#80489F #9F5548 #679F48 #48929F
split-complementary
#80489F #929F48 #489F55
monochromatic
#3C224B #5E3575 #80489F #9E69BB #B993CE

Accessibility & contrast

On white

6.28
#80489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#80489F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80489F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80489F#FFFFFF#000000##FFFFFF
##80489F1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#43619D
Tritanopia (blue-blind)
#7D576C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #80489f;
/* rgb */ color: rgb(128, 72, 159);
/* oklch */ color: oklch(50.6% 0.143 312.1);
Tailwind
colors: {
  custom: {
    50: '#a77dbc',
    500: '#80489f',
    950: '#000000',
  },
}
SCSS
$custom: #80489f;
$custom-light: #a77dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#80489f",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 278.621,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.14312,
    "h": 312.1
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#80489F
secondary
#9ABA89
accent
#CE5A83
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #80489F

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

Preview Lab → · Contrast checker → · Palette generator →

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