#792B89#792B89

#792B89 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.161 H 320.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#792B89
RGBrgb(121, 43, 137)
HSLhsl(290, 52%, 35%)
HSVhsv(290, 69%, 54%)
CMYKcmyk(11.7%, 68.6%, 0%, 46.3%)
CIE-LABlab(33.13, 47.56, -36.82)
CIE-LCHlch(33.13, 60.14, 322.26°)
OKLaboklab(44.42% 0.1243 -0.1029)
OKLCHoklch(44.42% 0.161 320.4)
XYZxyz(13.2638, 7.5995, 24.4303)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B89 #3B892B
analogous
#4A2B89 #792B89 #892B6A
triadic
#792B89 #89792B #2B8979
tetradic
#792B89 #894A2B #3B892B #2B6A89
square
#792B89 #894A2B #3B892B #2B6A89
split-complementary
#792B89 #6A892B #2B894A
monochromatic
#270E2C #501C5A #792B89 #A23AB8 #BB61CD

Accessibility & contrast

On white

8.33
#792B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#792B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B89
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B89#FFFFFF#000000##FFFFFF
##792B891.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488C
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#7A3B56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792b89;
/* rgb */ color: rgb(121, 43, 137);
/* oklch */ color: oklch(44.4% 0.161 320.4);
Tailwind
colors: {
  custom: {
    50: '#a36bac',
    500: '#792b89',
    950: '#000000',
  },
}
SCSS
$custom: #792b89;
$custom-light: #a36bac;
$custom-dark: #000000;
JSON
{
  "hex": "#792b89",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 289.787,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.16132,
    "h": 320.4
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#792B89
secondary
#6BB35C
accent
#DC4C65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B89

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

Preview Lab → · Contrast checker → · Palette generator →

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