#78258B#78258B

#78258B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.170 H 319.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#78258B
RGBrgb(120, 37, 139)
HSLhsl(289, 58%, 35%)
HSVhsv(289, 73%, 55%)
CMYKcmyk(13.7%, 73.4%, 0%, 45.5%)
CIE-LABlab(32.22, 50.23, -39.53)
CIE-LCHlch(32.22, 63.92, 321.80°)
OKLaboklab(43.77% 0.1295 -0.1108)
OKLCHoklch(43.77% 0.17 319.5)
XYZxyz(13.0669, 7.1809, 25.1189)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78258B #388B25
analogous
#45258B #78258B #8B256B
triadic
#78258B #8B7825 #258B78
tetradic
#78258B #8B4525 #388B25 #256B8B
square
#78258B #8B4525 #388B25 #256B8B
split-complementary
#78258B #6B8B25 #258B45
monochromatic
#250B2A #4E185B #78258B #A232BB #BC58D3

Accessibility & contrast

On white

8.62
#78258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#78258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78258B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78258B#FFFFFF#000000##FFFFFF
##78258B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#783956
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78258b;
/* rgb */ color: rgb(120, 37, 139);
/* oklch */ color: oklch(43.8% 0.170 319.5);
Tailwind
colors: {
  custom: {
    50: '#a268ad',
    500: '#78258b',
    950: '#000000',
  },
}
SCSS
$custom: #78258b;
$custom-light: #a268ad;
$custom-dark: #000000;
JSON
{
  "hex": "#78258b",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 288.824,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4377,
    "c": 0.17047,
    "h": 319.5
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#78258B
secondary
#67B755
accent
#E14763
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78258B

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

Preview Lab → · Contrast checker → · Palette generator →

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