#78259F#78259F

#78259F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.189 H 312.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#78259F
RGBrgb(120, 37, 159)
HSLhsl(281, 62%, 38%)
HSVhsv(281, 77%, 62%)
CMYKcmyk(24.5%, 76.7%, 0%, 37.6%)
CIE-LABlab(33.60, 54.36, -49.53)
CIE-LCHlch(33.60, 73.54, 317.66°)
OKLaboklab(45.2% 0.127 -0.1402)
OKLCHoklch(45.2% 0.189 312.2)
XYZxyz(14.6642, 7.8198, 33.5311)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78259F #4C9F25
analogous
#3B259F #78259F #9F2589
triadic
#78259F #9F7825 #259F78
tetradic
#78259F #9F3B25 #4C9F25 #25899F
square
#78259F #9F3B25 #4C9F25 #25899F
split-complementary
#78259F #899F25 #259F3B
monochromatic
#2D0E3C #53196D #78259F #9D32CF #B564DB

Accessibility & contrast

On white

8.19
#78259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78259F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78259F#FFFFFF#000000##FFFFFF
##78259F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#12519C
Tritanopia (blue-blind)
#734261
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78259f;
/* rgb */ color: rgb(120, 37, 159);
/* oklch */ color: oklch(45.2% 0.189 312.2);
Tailwind
colors: {
  custom: {
    50: '#a369bc',
    500: '#78259f',
    950: '#000000',
  },
}
SCSS
$custom: #78259f;
$custom-light: #a369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78259f",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 280.82,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.18911,
    "h": 312.2
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#78259F
secondary
#7EC05F
accent
#E54277
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78259F

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

Preview Lab → · Contrast checker → · Palette generator →

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