#78248B#78248B

#78248B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 319.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#78248B
RGBrgb(120, 36, 139)
HSLhsl(289, 59%, 34%)
HSVhsv(289, 74%, 55%)
CMYKcmyk(13.7%, 74.1%, 0%, 45.5%)
CIE-LABlab(32.08, 50.62, -39.75)
CIE-LCHlch(32.08, 64.37, 321.86°)
OKLaboklab(43.67% 0.1306 -0.1115)
OKLCHoklch(43.67% 0.172 319.5)
XYZxyz(13.0362, 7.1195, 25.1086)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78248B #378B24
analogous
#45248B #78248B #8B246B
triadic
#78248B #8B7824 #248B78
tetradic
#78248B #8B4524 #378B24 #246B8B
square
#78248B #8B4524 #378B24 #246B8B
split-complementary
#78248B #6B8B24 #248B45
monochromatic
#240B2A #4E175A #78248B #A231BC #BC56D3

Accessibility & contrast

On white

8.66
#78248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#78248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78248B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78248B#FFFFFF#000000##FFFFFF
##78248B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#783855
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78248b;
/* rgb */ color: rgb(120, 36, 139);
/* oklch */ color: oklch(43.7% 0.172 319.5);
Tailwind
colors: {
  custom: {
    50: '#a267ad',
    500: '#78248b',
    950: '#000000',
  },
}
SCSS
$custom: #78248b;
$custom-light: #a267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#78248b",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 288.932,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.17168,
    "h": 319.5
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#78248B
secondary
#66B753
accent
#E24663
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78248B

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

Preview Lab → · Contrast checker → · Palette generator →

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