#78249B#78249B

#78249B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.186 H 313.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#78249B
RGBrgb(120, 36, 155)
HSLhsl(282, 62%, 37%)
HSVhsv(282, 77%, 61%)
CMYKcmyk(22.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(33.18, 53.89, -47.79)
CIE-LCHlch(33.18, 72.03, 318.43°)
OKLaboklab(44.81% 0.1286 -0.135)
OKLCHoklch(44.81% 0.186 313.6)
XYZxyz(14.2920, 7.6218, 31.7223)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78249B #479B24
analogous
#3C249B #78249B #9B2483
triadic
#78249B #9B7824 #249B78
tetradic
#78249B #9B3C24 #479B24 #24839B
square
#78249B #9B3C24 #479B24 #24839B
split-complementary
#78249B #839B24 #249B3C
monochromatic
#2B0D38 #521869 #78249B #9E30CD #B65FDA

Accessibility & contrast

On white

8.32
#78249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#78249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78249B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78249B#FFFFFF#000000##FFFFFF
##78249B1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#195098
Tritanopia (blue-blind)
#743F5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78249b;
/* rgb */ color: rgb(120, 36, 155);
/* oklch */ color: oklch(44.8% 0.186 313.6);
Tailwind
colors: {
  custom: {
    50: '#a368b9',
    500: '#78249b',
    950: '#000000',
  },
}
SCSS
$custom: #78249b;
$custom-light: #a368b9;
$custom-dark: #000000;
JSON
{
  "hex": "#78249b",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 282.353,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.18644,
    "h": 313.6
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#78249B
secondary
#79BF5C
accent
#E54272
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78249B

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

Preview Lab → · Contrast checker → · Palette generator →

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