#78269F#78269F

#78269F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.188 H 312.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#78269F
RGBrgb(120, 38, 159)
HSLhsl(281, 61%, 39%)
HSVhsv(281, 76%, 62%)
CMYKcmyk(24.5%, 76.1%, 0%, 37.6%)
CIE-LABlab(33.74, 53.97, -49.32)
CIE-LCHlch(33.74, 73.11, 317.58°)
OKLaboklab(45.29% 0.126 -0.1395)
OKLCHoklch(45.29% 0.188 312.1)
XYZxyz(14.6957, 7.8829, 33.5416)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78269F #4D9F26
analogous
#3B269F #78269F #9F2689
triadic
#78269F #9F7826 #269F78
tetradic
#78269F #9F3B26 #4D9F26 #26899F
square
#78269F #9F3B26 #4D9F26 #26899F
split-complementary
#78269F #899F26 #269F3B
monochromatic
#2D0E3C #531A6E #78269F #9D34CE #B565DA

Accessibility & contrast

On white

8.15
#78269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#78269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78269F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78269F#FFFFFF#000000##FFFFFF
##78269F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78269f;
/* rgb */ color: rgb(120, 38, 159);
/* oklch */ color: oklch(45.3% 0.188 312.1);
Tailwind
colors: {
  custom: {
    50: '#a369bc',
    500: '#78269f',
    950: '#000000',
  },
}
SCSS
$custom: #78269f;
$custom-light: #a369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78269f",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 280.661,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45291,
    "c": 0.18803,
    "h": 312.1
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#78269F
secondary
#80C061
accent
#E54377
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78269F

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

Preview Lab → · Contrast checker → · Palette generator →

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