#78289F#78289F

#78289F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.186 H 311.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#78289F
RGBrgb(120, 40, 159)
HSLhsl(280, 60%, 39%)
HSVhsv(280, 75%, 62%)
CMYKcmyk(24.5%, 74.8%, 0%, 37.6%)
CIE-LABlab(34.01, 53.19, -48.87)
CIE-LCHlch(34.01, 72.23, 317.42°)
OKLaboklab(45.49% 0.1241 -0.1382)
OKLCHoklch(45.49% 0.186 311.9)
XYZxyz(14.7614, 8.0143, 33.5635)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78289F #4F9F28
analogous
#3D289F #78289F #9F288B
triadic
#78289F #9F7828 #289F78
tetradic
#78289F #9F3D28 #4F9F28 #288B9F
square
#78289F #9F3D28 #4F9F28 #288B9F
split-complementary
#78289F #8B9F28 #289F3D
monochromatic
#2E0F3D #531C6E #78289F #9C37CD #B468D9

Accessibility & contrast

On white

8.07
#78289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#78289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78289F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78289F#FFFFFF#000000##FFFFFF
##78289F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#734362
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78289f;
/* rgb */ color: rgb(120, 40, 159);
/* oklch */ color: oklch(45.5% 0.186 311.9);
Tailwind
colors: {
  custom: {
    50: '#a36abc',
    500: '#78289f',
    950: '#000000',
  },
}
SCSS
$custom: #78289f;
$custom-light: #a36abc;
$custom-dark: #000000;
JSON
{
  "hex": "#78289f",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 280.336,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.18579,
    "h": 311.9
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#78289F
secondary
#82BF64
accent
#E34579
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78289F

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

Preview Lab → · Contrast checker → · Palette generator →

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