#78248C#78248C

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

Color values

HEX#78248C
RGBrgb(120, 36, 140)
HSLhsl(288, 59%, 35%)
HSVhsv(288, 74%, 55%)
CMYKcmyk(14.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(32.14, 50.82, -40.27)
CIE-LCHlch(32.14, 64.84, 321.61°)
OKLaboklab(43.74% 0.1305 -0.113)
OKLCHoklch(43.74% 0.173 319.1)
XYZxyz(13.1096, 7.1489, 25.4952)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78248C #388C24
analogous
#44248C #78248C #8C246C
triadic
#78248C #8C7824 #248C78
tetradic
#78248C #8C4424 #388C24 #246C8C
square
#78248C #8C4424 #388C24 #246C8C
split-complementary
#78248C #6C8C24 #248C44
monochromatic
#250B2B #4E175B #78248C #A231BD #BC57D4

Accessibility & contrast

On white

8.64
#78248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#78248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78248C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78248C#FFFFFF#000000##FFFFFF
##78248C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78248c;
/* rgb */ color: rgb(120, 36, 140);
/* oklch */ color: oklch(43.7% 0.173 319.1);
Tailwind
colors: {
  custom: {
    50: '#a268ae',
    500: '#78248c',
    950: '#000000',
  },
}
SCSS
$custom: #78248c;
$custom-light: #a268ae;
$custom-dark: #000000;
JSON
{
  "hex": "#78248c",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 288.462,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.17259,
    "h": 319.1
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#78248C
secondary
#67B854
accent
#E24664
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78248C

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

Preview Lab → · Contrast checker → · Palette generator →

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