#78259D#78259D

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

Color values

HEX#78259D
RGBrgb(120, 37, 157)
HSLhsl(282, 62%, 38%)
HSVhsv(282, 76%, 62%)
CMYKcmyk(23.6%, 76.4%, 0%, 38.4%)
CIE-LABlab(33.46, 53.93, -48.56)
CIE-LCHlch(33.46, 72.57, 318.00°)
OKLaboklab(45.05% 0.1273 -0.1373)
OKLCHoklch(45.05% 0.187 312.8)
XYZxyz(14.4920, 7.7510, 32.6244)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78259D #4A9D25
analogous
#3C259D #78259D #9D2586
triadic
#78259D #9D7825 #259D78
tetradic
#78259D #9D3C25 #4A9D25 #25869D
square
#78259D #9D3C25 #4A9D25 #25869D
split-complementary
#78259D #869D25 #259D3C
monochromatic
#2C0E3A #52196B #78259D #9E31CE #B562DA

Accessibility & contrast

On white

8.23
#78259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#78259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78259D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78259D#FFFFFF#000000##FFFFFF
##78259D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78259d;
/* rgb */ color: rgb(120, 37, 157);
/* oklch */ color: oklch(45.0% 0.187 312.8);
Tailwind
colors: {
  custom: {
    50: '#a369bb',
    500: '#78259d',
    950: '#000000',
  },
}
SCSS
$custom: #78259d;
$custom-light: #a369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78259d",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 281.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.18723,
    "h": 312.8
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#78259D
secondary
#7CBF5E
accent
#E54375
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78259D

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

Preview Lab → · Contrast checker → · Palette generator →

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