#78268E#78268E

#78268E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.172 H 318.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#78268E
RGBrgb(120, 38, 142)
HSLhsl(287, 58%, 35%)
HSVhsv(287, 73%, 56%)
CMYKcmyk(15.5%, 73.2%, 0%, 44.3%)
CIE-LABlab(32.55, 50.44, -40.84)
CIE-LCHlch(32.55, 64.90, 321.00°)
OKLaboklab(44.07% 0.1283 -0.1147)
OKLCHoklch(44.07% 0.172 318.2)
XYZxyz(13.3206, 7.3329, 26.2997)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78268E #3C8E26
analogous
#44268E #78268E #8E2670
triadic
#78268E #8E7826 #268E78
tetradic
#78268E #8E4426 #3C8E26 #26708E
square
#78268E #8E4426 #3C8E26 #26708E
split-complementary
#78268E #708E26 #268E44
monochromatic
#260C2D #4F195E #78268E #A133BE #BA5BD3

Accessibility & contrast

On white

8.51
#78268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#78268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78268E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78268E#FFFFFF#000000##FFFFFF
##78268E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#773B58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78268e;
/* rgb */ color: rgb(120, 38, 142);
/* oklch */ color: oklch(44.1% 0.172 318.2);
Tailwind
colors: {
  custom: {
    50: '#a269b0',
    500: '#78268e',
    950: '#000000',
  },
}
SCSS
$custom: #78268e;
$custom-light: #a269b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78268e",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 287.308,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.17203,
    "h": 318.2
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#78268E
secondary
#6CB858
accent
#E14767
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78268E

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

Preview Lab → · Contrast checker → · Palette generator →

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