#79259C#79259C

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

Color values

HEX#79259C
RGBrgb(121, 37, 156)
HSLhsl(282, 62%, 38%)
HSVhsv(282, 76%, 61%)
CMYKcmyk(22.4%, 76.3%, 0%, 38.8%)
CIE-LABlab(33.54, 53.92, -47.81)
CIE-LCHlch(33.54, 72.06, 318.43°)
OKLaboklab(45.11% 0.1288 -0.1351)
OKLCHoklch(45.11% 0.187 313.6)
XYZxyz(14.5464, 7.7889, 32.1832)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79259C #489C25
analogous
#3D259C #79259C #9C2583
triadic
#79259C #9C7925 #259C79
tetradic
#79259C #9C3D25 #489C25 #25839C
square
#79259C #9C3D25 #489C25 #25839C
split-complementary
#79259C #839C25 #259C3D
monochromatic
#2C0E39 #53196B #79259C #9F31CD #B662DA

Accessibility & contrast

On white

8.21
#79259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79259C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79259C#FFFFFF#000000##FFFFFF
##79259C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#1A5199
Tritanopia (blue-blind)
#75405F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #79259c;
/* rgb */ color: rgb(121, 37, 156);
/* oklch */ color: oklch(45.1% 0.187 313.6);
Tailwind
colors: {
  custom: {
    50: '#a469ba',
    500: '#79259c',
    950: '#000000',
  },
}
SCSS
$custom: #79259c;
$custom-light: #a469ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79259c",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 282.353,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45113,
    "c": 0.18663,
    "h": 313.6
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#79259C
secondary
#7ABF5E
accent
#E54373
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79259C

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

Preview Lab → · Contrast checker → · Palette generator →

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