#78229A#78229A

#78229A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.188 H 314.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#78229A
RGBrgb(120, 34, 154)
HSLhsl(283, 64%, 37%)
HSVhsv(283, 78%, 60%)
CMYKcmyk(22.1%, 77.9%, 0%, 39.6%)
CIE-LABlab(32.86, 54.41, -47.71)
CIE-LCHlch(32.86, 72.37, 318.76°)
OKLaboklab(44.55% 0.1306 -0.1348)
OKLCHoklch(44.55% 0.188 314.1)
XYZxyz(14.1495, 7.4707, 31.2622)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78229A #449A22
analogous
#3C229A #78229A #9A2280
triadic
#78229A #9A7822 #229A78
tetradic
#78229A #9A3C22 #449A22 #22809A
square
#78229A #9A3C22 #449A22 #22809A
split-complementary
#78229A #809A22 #229A3C
monochromatic
#2A0C36 #511768 #78229A #9F2DCC #B75BDB

Accessibility & contrast

On white

8.42
#78229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#78229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78229A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78229A#FFFFFF#000000##FFFFFF
##78229A1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#184F97
Tritanopia (blue-blind)
#753E5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78229a;
/* rgb */ color: rgb(120, 34, 154);
/* oklch */ color: oklch(44.6% 0.188 314.1);
Tailwind
colors: {
  custom: {
    50: '#a367b8',
    500: '#78229a',
    950: '#000000',
  },
}
SCSS
$custom: #78229a;
$custom-light: #a367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#78229a",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 283,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.18764,
    "h": 314.1
  },
  "luminance": 0.0747
}

Semantic roles & 50–950 ramp

primary
#78229A
secondary
#76BF58
accent
#E74170
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78229A

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

Preview Lab → · Contrast checker → · Palette generator →

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