#78247E#78247E

#78247E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.160 H 325.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#78247E
RGBrgb(120, 36, 126)
HSLhsl(296, 56%, 32%)
HSVhsv(296, 71%, 49%)
CMYKcmyk(4.8%, 71.4%, 0%, 50.6%)
CIE-LABlab(31.26, 48.12, -32.96)
CIE-LCHlch(31.26, 58.33, 325.59°)
OKLaboklab(42.82% 0.1312 -0.0916)
OKLCHoklch(42.82% 0.16 325.1)
XYZxyz(12.1422, 6.7619, 20.4003)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78247E #2A7E24
analogous
#4B247E #78247E #7E2457
triadic
#78247E #7E7824 #247E78
tetradic
#78247E #7E4B24 #2A7E24 #24577E
square
#78247E #7E4B24 #2A7E24 #24577E
split-complementary
#78247E #577E24 #247E4B
monochromatic
#1D091F #4B164E #78247E #A532AE #C550CD

Accessibility & contrast

On white

8.93
#78247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#78247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78247E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78247E#FFFFFF#000000##FFFFFF
##78247E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#7B324E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #78247e;
/* rgb */ color: rgb(120, 36, 126);
/* oklch */ color: oklch(42.8% 0.160 325.1);
Tailwind
colors: {
  custom: {
    50: '#a267a4',
    500: '#78247e',
    950: '#000000',
  },
}
SCSS
$custom: #78247e;
$custom-light: #a267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78247e",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 296,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.16,
    "h": 325.1
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#78247E
secondary
#54B04E
accent
#DF4953
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78247E

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

Preview Lab → · Contrast checker → · Palette generator →

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