#78259C#78259C

#78259C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 313.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#78259C
RGBrgb(120, 37, 156)
HSLhsl(282, 62%, 38%)
HSVhsv(282, 76%, 61%)
CMYKcmyk(23.1%, 76.3%, 0%, 38.8%)
CIE-LABlab(33.39, 53.72, -48.07)
CIE-LCHlch(33.39, 72.09, 318.18°)
OKLaboklab(44.97% 0.1275 -0.1358)
OKLCHoklch(44.97% 0.186 313.2)
XYZxyz(14.4070, 7.7170, 32.1766)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78259C #499C25
analogous
#3D259C #78259C #9C2584
triadic
#78259C #9C7825 #259C78
tetradic
#78259C #9C3D25 #499C25 #25849C
square
#78259C #9C3D25 #499C25 #25849C
split-complementary
#78259C #849C25 #259C3D
monochromatic
#2C0E39 #52196B #78259C #9E31CD #B562DA

Accessibility & contrast

On white

8.26
#78259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#78259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78259C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78259C#FFFFFF#000000##FFFFFF
##78259C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#74405F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78259c;
/* rgb */ color: rgb(120, 37, 156);
/* oklch */ color: oklch(45.0% 0.186 313.2);
Tailwind
colors: {
  custom: {
    50: '#a369ba',
    500: '#78259c',
    950: '#000000',
  },
}
SCSS
$custom: #78259c;
$custom-light: #a369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78259c",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 281.849,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44974,
    "c": 0.18629,
    "h": 313.2
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#78259C
secondary
#7BBF5E
accent
#E54374
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78259C

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

Preview Lab → · Contrast checker → · Palette generator →

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