#78299D#78299D

#78299D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.183 H 312.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#78299D
RGBrgb(120, 41, 157)
HSLhsl(281, 59%, 39%)
HSVhsv(281, 74%, 62%)
CMYKcmyk(23.6%, 73.9%, 0%, 38.4%)
CIE-LABlab(34.01, 52.35, -47.66)
CIE-LCHlch(34.01, 70.80, 317.68°)
OKLaboklab(45.44% 0.1234 -0.1347)
OKLCHoklch(45.44% 0.183 312.5)
XYZxyz(14.6234, 8.0137, 32.6682)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78299D #4E9D29
analogous
#3E299D #78299D #9D2988
triadic
#78299D #9D7829 #299D78
tetradic
#78299D #9D3E29 #4E9D29 #29889D
square
#78299D #9D3E29 #4E9D29 #29889D
split-complementary
#78299D #889D29 #299D3E
monochromatic
#2E103C #531C6C #78299D #9C38CB #B469D8

Accessibility & contrast

On white

8.07
#78299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#78299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78299D
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78299D#FFFFFF#000000##FFFFFF
##78299D1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#1B529A
Tritanopia (blue-blind)
#744361
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78299d;
/* rgb */ color: rgb(120, 41, 157);
/* oklch */ color: oklch(45.4% 0.183 312.5);
Tailwind
colors: {
  custom: {
    50: '#a36bbb',
    500: '#78299d',
    950: '#000000',
  },
}
SCSS
$custom: #78299d;
$custom-light: #a36bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#78299d",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 280.862,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.1827,
    "h": 312.5
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#78299D
secondary
#81BE64
accent
#E24678
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78299D

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

Preview Lab → · Contrast checker → · Palette generator →

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