#78258F#78258F

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

Color values

HEX#78258F
RGBrgb(120, 37, 143)
HSLhsl(287, 59%, 35%)
HSVhsv(287, 74%, 56%)
CMYKcmyk(16.1%, 74.1%, 0%, 43.9%)
CIE-LABlab(32.48, 51.03, -41.58)
CIE-LCHlch(32.48, 65.83, 320.83°)
OKLaboklab(44.04% 0.1292 -0.1168)
OKLCHoklch(44.04% 0.174 317.9)
XYZxyz(13.3645, 7.3000, 26.6863)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78258F #3C8F25
analogous
#43258F #78258F #8F2571
triadic
#78258F #8F7825 #258F78
tetradic
#78258F #8F4325 #3C8F25 #25718F
square
#78258F #8F4325 #3C8F25 #25718F
split-complementary
#78258F #718F25 #258F43
monochromatic
#260C2E #4F185E #78258F #A132C0 #BA5AD4

Accessibility & contrast

On white

8.54
#78258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#78258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78258F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78258F#FFFFFF#000000##FFFFFF
##78258F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#773B58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78258f;
/* rgb */ color: rgb(120, 37, 143);
/* oklch */ color: oklch(44.0% 0.174 317.9);
Tailwind
colors: {
  custom: {
    50: '#a268b0',
    500: '#78258f',
    950: '#000000',
  },
}
SCSS
$custom: #78258f;
$custom-light: #a268b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78258f",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 286.981,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.17416,
    "h": 317.9
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#78258F
secondary
#6CB957
accent
#E24668
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78258F

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

Preview Lab → · Contrast checker → · Palette generator →

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