#78259E#78259E

#78259E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.188 H 312.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#78259E
RGBrgb(120, 37, 158)
HSLhsl(281, 62%, 38%)
HSVhsv(281, 77%, 62%)
CMYKcmyk(24.1%, 76.6%, 0%, 38%)
CIE-LABlab(33.53, 54.14, -49.05)
CIE-LCHlch(33.53, 73.05, 317.83°)
OKLaboklab(45.12% 0.1271 -0.1387)
OKLCHoklch(45.12% 0.188 312.5)
XYZxyz(14.5777, 7.7853, 33.0759)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78259E #4B9E25
analogous
#3B259E #78259E #9E2587
triadic
#78259E #9E7825 #259E78
tetradic
#78259E #9E3B25 #4B9E25 #25879E
square
#78259E #9E3B25 #4B9E25 #25879E
split-complementary
#78259E #879E25 #259E3B
monochromatic
#2D0E3B #52196C #78259E #9D31CF #B563DA

Accessibility & contrast

On white

8.21
#78259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#78259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78259E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78259E#FFFFFF#000000##FFFFFF
##78259E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78259e;
/* rgb */ color: rgb(120, 37, 158);
/* oklch */ color: oklch(45.1% 0.188 312.5);
Tailwind
colors: {
  custom: {
    50: '#a369bb',
    500: '#78259e',
    950: '#000000',
  },
}
SCSS
$custom: #78259e;
$custom-light: #a369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78259e",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 281.157,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45123,
    "c": 0.18817,
    "h": 312.5
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#78259E
secondary
#7DC05F
accent
#E54376
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78259E

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

Preview Lab → · Contrast checker → · Palette generator →

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