#78269D#78269D

#78269D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.186 H 312.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#78269D
RGBrgb(120, 38, 157)
HSLhsl(281, 61%, 38%)
HSVhsv(281, 76%, 62%)
CMYKcmyk(23.6%, 75.8%, 0%, 38.4%)
CIE-LABlab(33.59, 53.55, -48.34)
CIE-LCHlch(33.59, 72.14, 317.93°)
OKLaboklab(45.14% 0.1264 -0.1367)
OKLCHoklch(45.14% 0.186 312.8)
XYZxyz(14.5236, 7.8141, 32.6349)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78269D #4B9D26
analogous
#3D269D #78269D #9D2686
triadic
#78269D #9D7826 #269D78
tetradic
#78269D #9D3D26 #4B9D26 #26869D
square
#78269D #9D3D26 #4B9D26 #26869D
split-complementary
#78269D #869D26 #269D3D
monochromatic
#2D0E3A #521A6C #78269D #9D33CE #B564D9

Accessibility & contrast

On white

8.19
#78269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#78269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78269D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78269D#FFFFFF#000000##FFFFFF
##78269D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#17519A
Tritanopia (blue-blind)
#744160
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78269d;
/* rgb */ color: rgb(120, 38, 157);
/* oklch */ color: oklch(45.1% 0.186 312.8);
Tailwind
colors: {
  custom: {
    50: '#a369bb',
    500: '#78269d',
    950: '#000000',
  },
}
SCSS
$custom: #78269d;
$custom-light: #a369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78269d",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 281.345,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.18613,
    "h": 312.8
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#78269D
secondary
#7DBF60
accent
#E44476
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78269D

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

Preview Lab → · Contrast checker → · Palette generator →

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