#78269C#78269C

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

Color values

HEX#78269C
RGBrgb(120, 38, 156)
HSLhsl(282, 61%, 38%)
HSVhsv(282, 76%, 61%)
CMYKcmyk(23.1%, 75.6%, 0%, 38.8%)
CIE-LABlab(33.52, 53.34, -47.85)
CIE-LCHlch(33.52, 71.66, 318.10°)
OKLaboklab(45.07% 0.1265 -0.1352)
OKLCHoklch(45.07% 0.185 313.1)
XYZxyz(14.4385, 7.7800, 32.1872)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78269C #4A9C26
analogous
#3D269C #78269C #9C2685
triadic
#78269C #9C7826 #269C78
tetradic
#78269C #9C3D26 #4A9C26 #26859C
square
#78269C #9C3D26 #4A9C26 #26859C
split-complementary
#78269C #859C26 #269C3D
monochromatic
#2C0E3A #521A6B #78269C #9E32CD #B563D9

Accessibility & contrast

On white

8.22
#78269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78269C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78269C#FFFFFF#000000##FFFFFF
##78269C1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#195199
Tritanopia (blue-blind)
#74415F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78269c;
/* rgb */ color: rgb(120, 38, 156);
/* oklch */ color: oklch(45.1% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#a369ba',
    500: '#78269c',
    950: '#000000',
  },
}
SCSS
$custom: #78269c;
$custom-light: #a369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78269c",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 281.695,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.18518,
    "h": 313.1
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#78269C
secondary
#7CBF5F
accent
#E44475
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78269C

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

Preview Lab → · Contrast checker → · Palette generator →

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