#78249D#78249D

#78249D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.188 H 312.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#78249D
RGBrgb(120, 36, 157)
HSLhsl(282, 63%, 38%)
HSVhsv(282, 77%, 62%)
CMYKcmyk(23.6%, 77.1%, 0%, 38.4%)
CIE-LABlab(33.33, 54.31, -48.77)
CIE-LCHlch(33.33, 72.99, 318.08°)
OKLaboklab(44.96% 0.1282 -0.1379)
OKLCHoklch(44.96% 0.188 312.9)
XYZxyz(14.4613, 7.6896, 32.6142)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78249D #499D24
analogous
#3C249D #78249D #9D2485
triadic
#78249D #9D7824 #249D78
tetradic
#78249D #9D3C24 #499D24 #24859D
square
#78249D #9D3C24 #499D24 #24859D
split-complementary
#78249D #859D24 #249D3C
monochromatic
#2C0D39 #52196B #78249D #9E2FCF #B561DB

Accessibility & contrast

On white

8.27
#78249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#78249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78249D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78249D#FFFFFF#000000##FFFFFF
##78249D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#15509A
Tritanopia (blue-blind)
#74405F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78249d;
/* rgb */ color: rgb(120, 36, 157);
/* oklch */ color: oklch(45.0% 0.188 312.9);
Tailwind
colors: {
  custom: {
    50: '#a368bb',
    500: '#78249d',
    950: '#000000',
  },
}
SCSS
$custom: #78249d;
$custom-light: #a368bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78249d",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 281.653,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.18831,
    "h": 312.9
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#78249D
secondary
#7BC05D
accent
#E64274
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78249D

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

Preview Lab → · Contrast checker → · Palette generator →

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