#78258E#78258E

#78258E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.173 H 318.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#78258E
RGBrgb(120, 37, 142)
HSLhsl(287, 59%, 35%)
HSVhsv(287, 74%, 56%)
CMYKcmyk(15.5%, 73.9%, 0%, 44.3%)
CIE-LABlab(32.41, 50.83, -41.07)
CIE-LCHlch(32.41, 65.35, 321.07°)
OKLaboklab(43.97% 0.1293 -0.1153)
OKLCHoklch(43.97% 0.173 318.3)
XYZxyz(13.2891, 7.2698, 26.2892)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78258E #3B8E25
analogous
#44258E #78258E #8E256F
triadic
#78258E #8E7825 #258E78
tetradic
#78258E #8E4425 #3B8E25 #256F8E
square
#78258E #8E4425 #3B8E25 #256F8E
split-complementary
#78258E #6F8E25 #258E44
monochromatic
#260C2D #4F185D #78258E #A132BF #BA5AD4

Accessibility & contrast

On white

8.56
#78258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#78258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78258E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78258E#FFFFFF#000000##FFFFFF
##78258E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#773A57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78258e;
/* rgb */ color: rgb(120, 37, 142);
/* oklch */ color: oklch(44.0% 0.173 318.3);
Tailwind
colors: {
  custom: {
    50: '#a268b0',
    500: '#78258e',
    950: '#000000',
  },
}
SCSS
$custom: #78258e;
$custom-light: #a268b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78258e",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 287.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.17324,
    "h": 318.3
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#78258E
secondary
#6BB956
accent
#E24667
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78258E

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

Preview Lab → · Contrast checker → · Palette generator →

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