#792A90#792A90

#792A90 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.169 H 317.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#792A90
RGBrgb(121, 42, 144)
HSLhsl(286, 55%, 36%)
HSVhsv(286, 71%, 56%)
CMYKcmyk(16%, 70.8%, 0%, 43.5%)
CIE-LABlab(33.42, 49.42, -40.67)
CIE-LCHlch(33.42, 64.00, 320.55°)
OKLaboklab(44.77% 0.1251 -0.1141)
OKLCHoklch(44.77% 0.169 317.6)
XYZxyz(13.7464, 7.7351, 27.1491)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A90 #41902A
analogous
#462A90 #792A90 #902A74
triadic
#792A90 #90792A #2A9079
tetradic
#792A90 #90462A #41902A #2A7490
square
#792A90 #90462A #41902A #2A7490
split-complementary
#792A90 #74902A #2A9046
monochromatic
#290E31 #511C61 #792A90 #A138BF #B963D1

Accessibility & contrast

On white

8.25
#792A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A90
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A90#FFFFFF#000000##FFFFFF
##792A901.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792a90;
/* rgb */ color: rgb(121, 42, 144);
/* oklch */ color: oklch(44.8% 0.169 317.6);
Tailwind
colors: {
  custom: {
    50: '#a36bb1',
    500: '#792a90',
    950: '#000000',
  },
}
SCSS
$custom: #792a90;
$custom-light: #a36bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#792a90",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 286.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44771,
    "c": 0.16932,
    "h": 317.6
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#792A90
secondary
#72B75E
accent
#DE4A6B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792A90

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

Preview Lab → · Contrast checker → · Palette generator →

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