#792891#792891

#792891 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.173 H 317.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#792891
RGBrgb(121, 40, 145)
HSLhsl(286, 57%, 36%)
HSVhsv(286, 72%, 57%)
CMYKcmyk(16.6%, 72.4%, 0%, 43.1%)
CIE-LABlab(33.19, 50.46, -41.65)
CIE-LCHlch(33.19, 65.43, 320.46°)
OKLaboklab(44.63% 0.1272 -0.117)
OKLCHoklch(44.63% 0.173 317.4)
XYZxyz(13.7540, 7.6274, 27.5303)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792891 #409128
analogous
#452891 #792891 #912875
triadic
#792891 #917928 #289179
tetradic
#792891 #914528 #409128 #287591
square
#792891 #914528 #409128 #287591
split-complementary
#792891 #759128 #289145
monochromatic
#290E31 #511B61 #792891 #A135C1 #B960D3

Accessibility & contrast

On white

8.32
#792891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792891
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792891#FFFFFF#000000##FFFFFF
##7928911.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#783D5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792891;
/* rgb */ color: rgb(121, 40, 145);
/* oklch */ color: oklch(44.6% 0.173 317.4);
Tailwind
colors: {
  custom: {
    50: '#a36ab2',
    500: '#792891',
    950: '#000000',
  },
}
SCSS
$custom: #792891;
$custom-light: #a36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#792891",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 286.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.1728,
    "h": 317.4
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#792891
secondary
#71B95C
accent
#E0486B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792891

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

Preview Lab → · Contrast checker → · Palette generator →

#792891 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva