#78249C#78249C

#78249C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.187 H 313.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#78249C
RGBrgb(120, 36, 156)
HSLhsl(282, 63%, 38%)
HSVhsv(282, 77%, 61%)
CMYKcmyk(23.1%, 76.9%, 0%, 38.8%)
CIE-LABlab(33.26, 54.10, -48.28)
CIE-LCHlch(33.26, 72.51, 318.25°)
OKLaboklab(44.88% 0.1284 -0.1365)
OKLCHoklch(44.88% 0.187 313.3)
XYZxyz(14.3763, 7.6556, 32.1664)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78249C #489C24
analogous
#3C249C #78249C #9C2484
triadic
#78249C #9C7824 #249C78
tetradic
#78249C #9C3C24 #489C24 #24849C
square
#78249C #9C3C24 #489C24 #24849C
split-complementary
#78249C #849C24 #249C3C
monochromatic
#2B0D39 #52196A #78249C #9E2FCE #B660DA

Accessibility & contrast

On white

8.30
#78249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#78249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78249C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78249C#FFFFFF#000000##FFFFFF
##78249C1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#175099
Tritanopia (blue-blind)
#74405F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78249c;
/* rgb */ color: rgb(120, 36, 156);
/* oklch */ color: oklch(44.9% 0.187 313.3);
Tailwind
colors: {
  custom: {
    50: '#a368ba',
    500: '#78249c',
    950: '#000000',
  },
}
SCSS
$custom: #78249c;
$custom-light: #a368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78249c",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 282,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.18737,
    "h": 313.3
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#78249C
secondary
#7ABF5C
accent
#E64273
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78249C

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

Preview Lab → · Contrast checker → · Palette generator →

#78249C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva