#792890#792890

#792890 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.172 H 317.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#792890
RGBrgb(121, 40, 144)
HSLhsl(287, 57%, 36%)
HSVhsv(287, 72%, 56%)
CMYKcmyk(16%, 72.2%, 0%, 43.5%)
CIE-LABlab(33.13, 50.25, -41.14)
CIE-LCHlch(33.13, 64.95, 320.69°)
OKLaboklab(44.56% 0.1272 -0.1155)
OKLCHoklch(44.56% 0.172 317.8)
XYZxyz(13.6773, 7.5967, 27.1260)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792890 #3F9028
analogous
#452890 #792890 #902873
triadic
#792890 #907928 #289079
tetradic
#792890 #904528 #3F9028 #287390
square
#792890 #904528 #3F9028 #287390
split-complementary
#792890 #739028 #289045
monochromatic
#290D30 #511B60 #792890 #A135C0 #B960D3

Accessibility & contrast

On white

8.34
#792890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#792890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792890
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792890#FFFFFF#000000##FFFFFF
##7928901.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#2C508E
Tritanopia (blue-blind)
#783D59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792890;
/* rgb */ color: rgb(121, 40, 144);
/* oklch */ color: oklch(44.6% 0.172 317.8);
Tailwind
colors: {
  custom: {
    50: '#a36ab1',
    500: '#792890',
    950: '#000000',
  },
}
SCSS
$custom: #792890;
$custom-light: #a36ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#792890",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 286.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.17186,
    "h": 317.8
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#792890
secondary
#70B85C
accent
#E0486A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792890

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

Preview Lab → · Contrast checker → · Palette generator →

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