#78249A#78249A

#78249A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.186 H 313.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#78249A
RGBrgb(120, 36, 154)
HSLhsl(283, 62%, 37%)
HSVhsv(283, 77%, 60%)
CMYKcmyk(22.1%, 76.6%, 0%, 39.6%)
CIE-LABlab(33.11, 53.68, -47.30)
CIE-LCHlch(33.11, 71.54, 318.62°)
OKLaboklab(44.73% 0.1287 -0.1336)
OKLCHoklch(44.73% 0.186 313.9)
XYZxyz(14.2083, 7.5884, 31.2818)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78249A #469A24
analogous
#3D249A #78249A #9A2481
triadic
#78249A #9A7824 #249A78
tetradic
#78249A #9A3D24 #469A24 #24819A
square
#78249A #9A3D24 #469A24 #24819A
split-complementary
#78249A #819A24 #249A3D
monochromatic
#2B0D37 #511868 #78249A #9F30CC #B65FDA

Accessibility & contrast

On white

8.34
#78249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#78249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78249A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78249A#FFFFFF#000000##FFFFFF
##78249A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#1A5097
Tritanopia (blue-blind)
#753F5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78249a;
/* rgb */ color: rgb(120, 36, 154);
/* oklch */ color: oklch(44.7% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#a368b8',
    500: '#78249a',
    950: '#000000',
  },
}
SCSS
$custom: #78249a;
$custom-light: #a368b8;
$custom-dark: #000000;
JSON
{
  "hex": "#78249a",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 282.712,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44734,
    "c": 0.18551,
    "h": 313.9
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#78249A
secondary
#78BF5B
accent
#E54371
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78249A

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

Preview Lab → · Contrast checker → · Palette generator →

#78249A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva