#78267D#78267D

#78267D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.157 H 325.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#78267D
RGBrgb(120, 38, 125)
HSLhsl(297, 53%, 32%)
HSVhsv(297, 70%, 49%)
CMYKcmyk(4%, 69.6%, 0%, 51%)
CIE-LABlab(31.49, 47.12, -31.97)
CIE-LCHlch(31.49, 56.94, 325.84°)
OKLaboklab(42.97% 0.1289 -0.0888)
OKLCHoklch(42.97% 0.157 325.4)
XYZxyz(12.1402, 6.8607, 20.0829)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78267D #2B7D26
analogous
#4D267D #78267D #7D2657
triadic
#78267D #7D7826 #267D78
tetradic
#78267D #7D4D26 #2B7D26 #26577D
square
#78267D #7D4D26 #2B7D26 #26577D
split-complementary
#78267D #577D26 #267D4D
monochromatic
#1E091F #4B184E #78267D #A534AC #C453CB

Accessibility & contrast

On white

8.85
#78267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#78267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78267D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78267D#FFFFFF#000000##FFFFFF
##78267D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#7B334E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #78267d;
/* rgb */ color: rgb(120, 38, 125);
/* oklch */ color: oklch(43.0% 0.157 325.4);
Tailwind
colors: {
  custom: {
    50: '#a268a3',
    500: '#78267d',
    950: '#000000',
  },
}
SCSS
$custom: #78267d;
$custom-light: #a268a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78267d",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 296.552,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42969,
    "c": 0.1565,
    "h": 325.4
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#78267D
secondary
#55AF50
accent
#DD4B53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78267D

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

Preview Lab → · Contrast checker → · Palette generator →

#78267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva