#79308B#79308B

#79308B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.156 H 319.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#79308B
RGBrgb(121, 48, 139)
HSLhsl(288, 49%, 37%)
HSVhsv(288, 65%, 55%)
CMYKcmyk(12.9%, 65.5%, 0%, 45.5%)
CIE-LABlab(34.07, 45.70, -36.55)
CIE-LCHlch(34.07, 58.52, 321.34°)
OKLaboklab(45.14% 0.1182 -0.1022)
OKLCHoklch(45.14% 0.156 319.2)
XYZxyz(13.6017, 8.0435, 25.2572)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79308B #428B30
analogous
#4C308B #79308B #8B3070
triadic
#79308B #8B7930 #308B79
tetradic
#79308B #8B4C30 #428B30 #30708B
square
#79308B #8B4C30 #428B30 #30708B
split-complementary
#79308B #708B30 #308B4C
monochromatic
#2A1130 #51205E #79308B #A140B8 #B86ACC

Accessibility & contrast

On white

8.05
#79308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#79308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79308B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79308B#FFFFFF#000000##FFFFFF
##79308B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#365389
Tritanopia (blue-blind)
#794059
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #79308b;
/* rgb */ color: rgb(121, 48, 139);
/* oklch */ color: oklch(45.1% 0.156 319.2);
Tailwind
colors: {
  custom: {
    50: '#a26ead',
    500: '#79308b',
    950: '#000000',
  },
}
SCSS
$custom: #79308b;
$custom-light: #a26ead;
$custom-dark: #000000;
JSON
{
  "hex": "#79308b",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 288.132,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.15622,
    "h": 319.2
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#79308B
secondary
#74B364
accent
#D8506B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79308B

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

Preview Lab → · Contrast checker → · Palette generator →

#79308B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva