#78188E#78188E

#78188E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.187 H 319.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#78188E
RGBrgb(120, 24, 142)
HSLhsl(289, 71%, 33%)
HSVhsv(289, 83%, 56%)
CMYKcmyk(15.5%, 83.1%, 0%, 44.3%)
CIE-LABlab(30.88, 55.25, -43.54)
CIE-LCHlch(30.88, 70.34, 321.76°)
OKLaboklab(42.89% 0.1408 -0.1225)
OKLCHoklch(42.89% 0.187 319)
XYZxyz(12.9542, 6.6000, 26.1775)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78188E #2E8E18
analogous
#3D188E #78188E #8E1869
triadic
#78188E #8E7818 #188E78
tetradic
#78188E #8E3D18 #2E8E18 #18698E
square
#78188E #8E3D18 #2E8E18 #18698E
split-complementary
#78188E #698E18 #188E3D
monochromatic
#200625 #4C0F5A #78188E #A421C2 #C241DF

Accessibility & contrast

On white

9.05
#78188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#78188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78188E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78188E#FFFFFF#000000##FFFFFF
##78188E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#783354
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78188e;
/* rgb */ color: rgb(120, 24, 142);
/* oklch */ color: oklch(42.9% 0.187 319.0);
Tailwind
colors: {
  custom: {
    50: '#a363b0',
    500: '#78188e',
    950: '#000000',
  },
}
SCSS
$custom: #78188e;
$custom-light: #a363b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78188e",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 288.814,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.18661,
    "h": 319
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#78188E
secondary
#5AC042
accent
#EE3A5B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #78188E

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

Preview Lab → · Contrast checker → · Palette generator →

#78188E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva