#78149F#78149F

#78149F is a dark, highly saturated purple. Relative luminance 0.070; OKLCH L 43.9% C 0.204 H 313.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#78149F
RGBrgb(120, 20, 159)
HSLhsl(283, 78%, 35%)
HSVhsv(283, 87%, 62%)
CMYKcmyk(24.5%, 87.4%, 0%, 37.6%)
CIE-LABlab(31.80, 59.60, -52.46)
CIE-LCHlch(31.80, 79.40, 318.65°)
OKLaboklab(43.93% 0.1397 -0.1486)
OKLCHoklch(43.93% 0.204 313.2)
XYZxyz(14.2528, 6.9971, 33.3939)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78149F #3B9F14
analogous
#32149F #78149F #9F1481
triadic
#78149F #9F7814 #149F78
tetradic
#78149F #9F3214 #3B9F14 #14819F
square
#78149F #9F3214 #3B9F14 #14819F
split-complementary
#78149F #819F14 #149F32
monochromatic
#260632 #4F0D69 #78149F #A11BD5 #BA46E8

Accessibility & contrast

On white

8.75
#78149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#78149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78149F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78149F#FFFFFF#000000##FFFFFF
##78149F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#743A5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78149f;
/* rgb */ color: rgb(120, 20, 159);
/* oklch */ color: oklch(43.9% 0.204 313.2);
Tailwind
colors: {
  custom: {
    50: '#a463bc',
    500: '#78149f',
    950: '#000000',
  },
}
SCSS
$custom: #78149f;
$custom-light: #a463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78149f",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 283.165,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.20399,
    "h": 313.2
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#78149F
secondary
#6BC846
accent
#F4346A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78149F

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

Preview Lab → · Contrast checker → · Palette generator →

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