#78248F#78248F

#78248F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.175 H 317.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#78248F
RGBrgb(120, 36, 143)
HSLhsl(287, 60%, 35%)
HSVhsv(287, 75%, 56%)
CMYKcmyk(16.1%, 74.8%, 0%, 43.9%)
CIE-LABlab(32.34, 51.42, -41.79)
CIE-LCHlch(32.34, 66.26, 320.90°)
OKLaboklab(43.95% 0.1302 -0.1174)
OKLCHoklch(43.95% 0.175 317.9)
XYZxyz(13.3338, 7.2386, 26.6761)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78248F #3B8F24
analogous
#43248F #78248F #8F2470
triadic
#78248F #8F7824 #248F78
tetradic
#78248F #8F4324 #3B8F24 #24708F
square
#78248F #8F4324 #3B8F24 #24708F
split-complementary
#78248F #708F24 #248F43
monochromatic
#260B2D #4F185E #78248F #A130C0 #BA58D5

Accessibility & contrast

On white

8.58
#78248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#78248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78248F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78248F#FFFFFF#000000##FFFFFF
##78248F1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78248f;
/* rgb */ color: rgb(120, 36, 143);
/* oklch */ color: oklch(43.9% 0.175 317.9);
Tailwind
colors: {
  custom: {
    50: '#a368b0',
    500: '#78248f',
    950: '#000000',
  },
}
SCSS
$custom: #78248f;
$custom-light: #a368b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78248f",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 287.103,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.17534,
    "h": 317.9
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#78248F
secondary
#6BB955
accent
#E34567
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #78248F

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

Preview Lab → · Contrast checker → · Palette generator →

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