#78248A#78248A

#78248A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.171 H 319.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#78248A
RGBrgb(120, 36, 138)
HSLhsl(289, 59%, 34%)
HSVhsv(289, 74%, 54%)
CMYKcmyk(13%, 73.9%, 0%, 45.9%)
CIE-LABlab(32.01, 50.43, -39.24)
CIE-LCHlch(32.01, 63.89, 322.11°)
OKLaboklab(43.6% 0.1307 -0.11)
OKLCHoklch(43.6% 0.171 319.9)
XYZxyz(12.9635, 7.0904, 24.7256)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78248A #368A24
analogous
#45248A #78248A #8A2469
triadic
#78248A #8A7824 #248A78
tetradic
#78248A #8A4524 #368A24 #24698A
square
#78248A #8A4524 #368A24 #24698A
split-complementary
#78248A #698A24 #248A45
monochromatic
#240B29 #4E1759 #78248A #A231BB #BD56D3

Accessibility & contrast

On white

8.68
#78248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#78248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78248A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78248A#FFFFFF#000000##FFFFFF
##78248A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#783855
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78248a;
/* rgb */ color: rgb(120, 36, 138);
/* oklch */ color: oklch(43.6% 0.171 319.9);
Tailwind
colors: {
  custom: {
    50: '#a267ad',
    500: '#78248a',
    950: '#000000',
  },
}
SCSS
$custom: #78248a;
$custom-light: #a267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#78248a",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 289.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43604,
    "c": 0.17077,
    "h": 319.9
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#78248A
secondary
#64B753
accent
#E24661
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #78248A

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

Preview Lab → · Contrast checker → · Palette generator →

#78248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva