#78267E#78267E

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

Color values

HEX#78267E
RGBrgb(120, 38, 126)
HSLhsl(296, 54%, 32%)
HSVhsv(296, 70%, 49%)
CMYKcmyk(4.8%, 69.8%, 0%, 50.6%)
CIE-LABlab(31.55, 47.31, -32.50)
CIE-LCHlch(31.55, 57.40, 325.51°)
OKLaboklab(43.03% 0.1289 -0.0903)
OKLCHoklch(43.03% 0.157 325)
XYZxyz(12.2044, 6.8864, 20.4210)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78267E #2C7E26
analogous
#4C267E #78267E #7E2658
triadic
#78267E #7E7826 #267E78
tetradic
#78267E #7E4C26 #2C7E26 #26587E
square
#78267E #7E4C26 #2C7E26 #26587E
split-complementary
#78267E #587E26 #267E4C
monochromatic
#1E0A20 #4B184F #78267E #A534AD #C353CB

Accessibility & contrast

On white

8.83
#78267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#78267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78267E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78267E#FFFFFF#000000##FFFFFF
##78267E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#7B344F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #78267e;
/* rgb */ color: rgb(120, 38, 126);
/* oklch */ color: oklch(43.0% 0.157 325.0);
Tailwind
colors: {
  custom: {
    50: '#a268a4',
    500: '#78267e',
    950: '#000000',
  },
}
SCSS
$custom: #78267e;
$custom-light: #a268a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78267e",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 295.909,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.1574,
    "h": 325
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#78267E
secondary
#57B050
accent
#DD4B55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78267E

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

Preview Lab → · Contrast checker → · Palette generator →

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