#78249F#78249F

#78249F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.190 H 312.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#78249F
RGBrgb(120, 36, 159)
HSLhsl(281, 63%, 38%)
HSVhsv(281, 77%, 62%)
CMYKcmyk(24.5%, 77.4%, 0%, 37.6%)
CIE-LABlab(33.47, 54.73, -49.74)
CIE-LCHlch(33.47, 73.96, 317.73°)
OKLaboklab(45.11% 0.1279 -0.1408)
OKLCHoklch(45.11% 0.19 312.2)
XYZxyz(14.6335, 7.7584, 33.5208)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78249F #4B9F24
analogous
#3B249F #78249F #9F2488
triadic
#78249F #9F7824 #249F78
tetradic
#78249F #9F3B24 #4B9F24 #24889F
square
#78249F #9F3B24 #4B9F24 #24889F
split-complementary
#78249F #889F24 #249F3B
monochromatic
#2D0D3B #52196D #78249F #9D30D0 #B562DB

Accessibility & contrast

On white

8.23
#78249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#78249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78249F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78249F#FFFFFF#000000##FFFFFF
##78249F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#734161
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78249f;
/* rgb */ color: rgb(120, 36, 159);
/* oklch */ color: oklch(45.1% 0.190 312.2);
Tailwind
colors: {
  custom: {
    50: '#a368bc',
    500: '#78249f',
    950: '#000000',
  },
}
SCSS
$custom: #78249f;
$custom-light: #a368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78249f",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 280.976,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.19017,
    "h": 312.2
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#78249F
secondary
#7DC15E
accent
#E64276
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78249F

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

Preview Lab → · Contrast checker → · Palette generator →

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