#79229F#79229F

#79229F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.193 H 312.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#79229F
RGBrgb(121, 34, 159)
HSLhsl(282, 65%, 38%)
HSVhsv(282, 79%, 62%)
CMYKcmyk(23.9%, 78.6%, 0%, 37.6%)
CIE-LABlab(33.38, 55.64, -49.90)
CIE-LCHlch(33.38, 74.74, 318.12°)
OKLaboklab(45.07% 0.131 -0.1412)
OKLCHoklch(45.07% 0.193 312.8)
XYZxyz(14.7141, 7.7127, 33.5078)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79229F #489F22
analogous
#3A229F #79229F #9F2286
triadic
#79229F #9F7922 #229F79
tetradic
#79229F #9F3A22 #489F22 #22869F
square
#79229F #9F3A22 #489F22 #22869F
split-complementary
#79229F #869F22 #229F3A
monochromatic
#2C0C3A #53176D #79229F #9F2DD1 #B65FDD

Accessibility & contrast

On white

8.26
#79229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#79229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79229F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79229F#FFFFFF#000000##FFFFFF
##79229F1.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)
#004AA2
Deuteranopia (green-blind)
#0F509C
Tritanopia (blue-blind)
#754060
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79229f;
/* rgb */ color: rgb(121, 34, 159);
/* oklch */ color: oklch(45.1% 0.193 312.8);
Tailwind
colors: {
  custom: {
    50: '#a468bc',
    500: '#79229f',
    950: '#000000',
  },
}
SCSS
$custom: #79229f;
$custom-light: #a468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#79229f",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 281.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.19255,
    "h": 312.8
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#79229F
secondary
#7AC15B
accent
#E84073
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79229F

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

Preview Lab → · Contrast checker → · Palette generator →

#79229F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva