#792D90#792D90

#792D90 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.165 H 317.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#792D90
RGBrgb(121, 45, 144)
HSLhsl(286, 52%, 37%)
HSVhsv(286, 69%, 56%)
CMYKcmyk(16%, 68.7%, 0%, 43.5%)
CIE-LABlab(33.89, 48.11, -39.92)
CIE-LCHlch(33.89, 62.51, 320.31°)
OKLaboklab(45.11% 0.1217 -0.112)
OKLCHoklch(45.11% 0.165 317.4)
XYZxyz(13.8569, 7.9559, 27.1859)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D90 #44902D
analogous
#482D90 #792D90 #902D75
triadic
#792D90 #90792D #2D9079
tetradic
#792D90 #90482D #44902D #2D7590
square
#792D90 #90482D #44902D #2D7590
split-complementary
#792D90 #75902D #2D9048
monochromatic
#2B1033 #521E61 #792D90 #A03CBF #B868D0

Accessibility & contrast

On white

8.10
#792D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#792D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D90
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D90#FFFFFF#000000##FFFFFF
##792D901.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#78405B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792d90;
/* rgb */ color: rgb(121, 45, 144);
/* oklch */ color: oklch(45.1% 0.165 317.4);
Tailwind
colors: {
  custom: {
    50: '#a36cb1',
    500: '#792d90',
    950: '#000000',
  },
}
SCSS
$custom: #792d90;
$custom-light: #a36cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#792d90",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 286.061,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.16535,
    "h": 317.4
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#792D90
secondary
#76B662
accent
#DC4C6D
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792D90

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

Preview Lab → · Contrast checker → · Palette generator →

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