#792B90#792B90

#792B90 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.168 H 317.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#792B90
RGBrgb(121, 43, 144)
HSLhsl(286, 54%, 37%)
HSVhsv(286, 70%, 56%)
CMYKcmyk(16%, 70.1%, 0%, 43.5%)
CIE-LABlab(33.58, 48.99, -40.42)
CIE-LCHlch(33.58, 63.51, 320.47°)
OKLaboklab(44.88% 0.124 -0.1134)
OKLCHoklch(44.88% 0.168 317.5)
XYZxyz(13.7824, 7.8069, 27.1610)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B90 #42902B
analogous
#472B90 #792B90 #902B75
triadic
#792B90 #90792B #2B9079
tetradic
#792B90 #90472B #42902B #2B7590
square
#792B90 #90472B #42902B #2B7590
split-complementary
#792B90 #75902B #2B9047
monochromatic
#2A0F32 #511D61 #792B90 #A139BF #B865D1

Accessibility & contrast

On white

8.20
#792B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B90
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B90#FFFFFF#000000##FFFFFF
##792B901.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#2E518E
Tritanopia (blue-blind)
#783E5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792b90;
/* rgb */ color: rgb(121, 43, 144);
/* oklch */ color: oklch(44.9% 0.168 317.5);
Tailwind
colors: {
  custom: {
    50: '#a36bb1',
    500: '#792b90',
    950: '#000000',
  },
}
SCSS
$custom: #792b90;
$custom-light: #a36bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#792b90",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 286.337,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.16802,
    "h": 317.5
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#792B90
secondary
#74B760
accent
#DD4A6C
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792B90

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

Preview Lab → · Contrast checker → · Palette generator →

#792B90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva