#78299E#78299E

#78299E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.184 H 312.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#78299E
RGBrgb(120, 41, 158)
HSLhsl(281, 59%, 39%)
HSVhsv(281, 74%, 62%)
CMYKcmyk(24.1%, 74.1%, 0%, 38%)
CIE-LABlab(34.08, 52.57, -48.16)
CIE-LCHlch(34.08, 71.29, 317.51°)
OKLaboklab(45.51% 0.1233 -0.1361)
OKLCHoklch(45.51% 0.184 312.2)
XYZxyz(14.7091, 8.0480, 33.1197)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78299E #4F9E29
analogous
#3E299E #78299E #9E298A
triadic
#78299E #9E7829 #299E78
tetradic
#78299E #9E3E29 #4F9E29 #298A9E
square
#78299E #9E3E29 #4F9E29 #298A9E
split-complementary
#78299E #8A9E29 #299E3E
monochromatic
#2E103D #531C6D #78299E #9C39CC #B469D8

Accessibility & contrast

On white

8.05
#78299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#78299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78299E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78299E#FFFFFF#000000##FFFFFF
##78299E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#1A529B
Tritanopia (blue-blind)
#734361
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78299e;
/* rgb */ color: rgb(120, 41, 158);
/* oklch */ color: oklch(45.5% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#a36bbb',
    500: '#78299e',
    950: '#000000',
  },
}
SCSS
$custom: #78299e;
$custom-light: #a36bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#78299e",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 280.513,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.18366,
    "h": 312.2
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#78299E
secondary
#82BF64
accent
#E24679
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78299E

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

Preview Lab → · Contrast checker → · Palette generator →

#78299E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva