#78189F#78189F

#78189F is a dark, highly saturated purple. Relative luminance 0.071; OKLCH L 44.2% C 0.201 H 313.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#78189F
RGBrgb(120, 24, 159)
HSLhsl(283, 74%, 36%)
HSVhsv(283, 85%, 62%)
CMYKcmyk(24.5%, 84.9%, 0%, 37.6%)
CIE-LABlab(32.15, 58.59, -51.90)
CIE-LCHlch(32.15, 78.27, 318.46°)
OKLaboklab(44.18% 0.1372 -0.147)
OKLCHoklch(44.18% 0.201 313)
XYZxyz(14.3292, 7.1500, 33.4194)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78189F #3F9F18
analogous
#35189F #78189F #9F1882
triadic
#78189F #9F7818 #189F78
tetradic
#78189F #9F3518 #3F9F18 #18829F
square
#78189F #9F3518 #3F9F18 #18829F
split-complementary
#78189F #829F18 #189F35
monochromatic
#280835 #50106A #78189F #A020D4 #B94DE4

Accessibility & contrast

On white

8.64
#78189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#78189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78189F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78189F#FFFFFF#000000##FFFFFF
##78189F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#743C5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78189f;
/* rgb */ color: rgb(120, 24, 159);
/* oklch */ color: oklch(44.2% 0.201 313.0);
Tailwind
colors: {
  custom: {
    50: '#a464bc',
    500: '#78189f',
    950: '#000000',
  },
}
SCSS
$custom: #78189f;
$custom-light: #a464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78189f",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 282.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.20111,
    "h": 313
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#78189F
secondary
#70C64D
accent
#F0376D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78189F

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

Preview Lab → · Contrast checker → · Palette generator →

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