#78249E#78249E

#78249E is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.189 H 312.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#78249E
RGBrgb(120, 36, 158)
HSLhsl(281, 63%, 38%)
HSVhsv(281, 77%, 62%)
CMYKcmyk(24.1%, 77.2%, 0%, 38%)
CIE-LABlab(33.40, 54.52, -49.26)
CIE-LCHlch(33.40, 73.47, 317.90°)
OKLaboklab(45.03% 0.128 -0.1393)
OKLCHoklch(45.03% 0.189 312.6)
XYZxyz(14.5470, 7.7239, 33.0657)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78249E #4A9E24
analogous
#3B249E #78249E #9E2487
triadic
#78249E #9E7824 #249E78
tetradic
#78249E #9E3B24 #4A9E24 #24879E
square
#78249E #9E3B24 #4A9E24 #24879E
split-complementary
#78249E #879E24 #249E3B
monochromatic
#2C0D3A #52196C #78249E #9E2FD0 #B561DB

Accessibility & contrast

On white

8.25
#78249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78249E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78249E#FFFFFF#000000##FFFFFF
##78249E1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#744160
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78249e;
/* rgb */ color: rgb(120, 36, 158);
/* oklch */ color: oklch(45.0% 0.189 312.6);
Tailwind
colors: {
  custom: {
    50: '#a368bb',
    500: '#78249e',
    950: '#000000',
  },
}
SCSS
$custom: #78249e;
$custom-light: #a368bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78249e",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 281.311,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.18923,
    "h": 312.6
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#78249E
secondary
#7CC05E
accent
#E64275
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78249E

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

Preview Lab → · Contrast checker → · Palette generator →

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