#792189#792189

#792189 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.174 H 321.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#792189
RGBrgb(121, 33, 137)
HSLhsl(291, 61%, 33%)
HSVhsv(291, 76%, 54%)
CMYKcmyk(11.7%, 75.9%, 0%, 46.3%)
CIE-LABlab(31.71, 51.58, -39.09)
CIE-LCHlch(31.71, 64.72, 322.84°)
OKLaboklab(43.4% 0.135 -0.1095)
OKLCHoklch(43.4% 0.174 321)
XYZxyz(12.9438, 6.9595, 24.3236)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792189 #318921
analogous
#452189 #792189 #892165
triadic
#792189 #897921 #218979
tetradic
#792189 #894521 #318921 #216589
square
#792189 #894521 #318921 #216589
split-complementary
#792189 #658921 #218945
monochromatic
#220926 #4D1558 #792189 #A52DBA #C050D5

Accessibility & contrast

On white

8.78
#792189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#792189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792189
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792189#FFFFFF#000000##FFFFFF
##7921891.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#7A3553
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792189;
/* rgb */ color: rgb(121, 33, 137);
/* oklch */ color: oklch(43.4% 0.174 321.0);
Tailwind
colors: {
  custom: {
    50: '#a366ac',
    500: '#792189',
    950: '#000000',
  },
}
SCSS
$custom: #792189;
$custom-light: #a366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#792189",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 290.769,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.17378,
    "h": 321
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#792189
secondary
#5EB84E
accent
#E4445C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #792189

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

Preview Lab → · Contrast checker → · Palette generator →

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