#792F80#792F80

#792F80 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.147 H 324.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#792F80
RGBrgb(121, 47, 128)
HSLhsl(295, 46%, 34%)
HSVhsv(295, 63%, 50%)
CMYKcmyk(5.5%, 63.3%, 0%, 49.8%)
CIE-LABlab(33.26, 43.95, -31.03)
CIE-LCHlch(33.26, 53.80, 324.78°)
OKLaboklab(44.34% 0.1192 -0.0861)
OKLCHoklch(44.34% 0.147 324.2)
XYZxyz(12.7976, 7.6572, 21.2218)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F80 #36802F
analogous
#512F80 #792F80 #802F5F
triadic
#792F80 #80792F #2F8079
tetradic
#792F80 #80512F #36802F #2F5F80
square
#792F80 #80512F #36802F #2F5F80
split-complementary
#792F80 #5F802F #2F8051
monochromatic
#240E26 #4F1F53 #792F80 #A33FAD #BD63C6

Accessibility & contrast

On white

8.30
#792F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F80
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F80#FFFFFF#000000##FFFFFF
##792F801.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#3C517E
Tritanopia (blue-blind)
#7B3B53
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792f80;
/* rgb */ color: rgb(121, 47, 128);
/* oklch */ color: oklch(44.3% 0.147 324.2);
Tailwind
colors: {
  custom: {
    50: '#a26da5',
    500: '#792f80',
    950: '#000000',
  },
}
SCSS
$custom: #792f80;
$custom-light: #a26da5;
$custom-dark: #000000;
JSON
{
  "hex": "#792f80",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 294.815,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.14699,
    "h": 324.2
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#792F80
secondary
#65AD5E
accent
#D6525D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F80

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

Preview Lab → · Contrast checker → · Palette generator →

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