#78226E#78226E

#78226E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 333.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#78226E
RGBrgb(120, 34, 110)
HSLhsl(307, 56%, 30%)
HSVhsv(307, 72%, 47%)
CMYKcmyk(0%, 71.7%, 8.3%, 52.9%)
CIE-LABlab(30.07, 46.06, -24.71)
CIE-LCHlch(30.07, 52.27, 331.79°)
OKLaboklab(41.67% 0.1328 -0.0677)
OKLCHoklch(41.67% 0.149 333)
XYZxyz(11.1323, 6.2638, 15.3715)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78226E #22782C
analogous
#572278 #78226E #782243
triadic
#78226E #6E7822 #226E78
tetradic
#78226E #785722 #22782C #224378
square
#78226E #785722 #22782C #224378
split-complementary
#78226E #437822 #227857
monochromatic
#190717 #481442 #78226E #A8309A #CB49BC

Accessibility & contrast

On white

9.32
#78226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#78226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78226E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78226E#FFFFFF#000000##FFFFFF
##78226E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#7D2A45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78226e;
/* rgb */ color: rgb(120, 34, 110);
/* oklch */ color: oklch(41.7% 0.149 333.0);
Tailwind
colors: {
  custom: {
    50: '#a26598',
    500: '#78226e',
    950: '#000000',
  },
}
SCSS
$custom: #78226e;
$custom-light: #a26598;
$custom-dark: #000000;
JSON
{
  "hex": "#78226e",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 306.977,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.14904,
    "h": 333
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#78226E
secondary
#4BAB56
accent
#DF5A49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78226E

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

Preview Lab → · Contrast checker → · Palette generator →

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