#78247F#78247F

#78247F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.161 H 324.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#78247F
RGBrgb(120, 36, 127)
HSLhsl(295, 56%, 32%)
HSVhsv(295, 72%, 50%)
CMYKcmyk(5.5%, 71.7%, 0%, 50.2%)
CIE-LABlab(31.32, 48.31, -33.49)
CIE-LCHlch(31.32, 58.78, 325.26°)
OKLaboklab(42.89% 0.1312 -0.0932)
OKLCHoklch(42.89% 0.161 324.6)
XYZxyz(12.2071, 6.7879, 20.7418)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78247F #2B7F24
analogous
#4B247F #78247F #7F2458
triadic
#78247F #7F7824 #247F78
tetradic
#78247F #7F4B24 #2B7F24 #24587F
square
#78247F #7F4B24 #2B7F24 #24587F
split-complementary
#78247F #587F24 #247F4B
monochromatic
#1E0920 #4B164F #78247F #A532AF #C450CD

Accessibility & contrast

On white

8.91
#78247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#78247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78247F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78247F#FFFFFF#000000##FFFFFF
##78247F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4382
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#7B334F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #78247f;
/* rgb */ color: rgb(120, 36, 127);
/* oklch */ color: oklch(42.9% 0.161 324.6);
Tailwind
colors: {
  custom: {
    50: '#a267a4',
    500: '#78247f',
    950: '#000000',
  },
}
SCSS
$custom: #78247f;
$custom-light: #a267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78247f",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 295.385,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.16088,
    "h": 324.6
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#78247F
secondary
#55B14E
accent
#DF4954
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78247F

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

Preview Lab → · Contrast checker → · Palette generator →

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