#792F85#792F85

#792F85 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.152 H 321.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#792F85
RGBrgb(121, 47, 133)
HSLhsl(292, 48%, 35%)
HSVhsv(292, 65%, 52%)
CMYKcmyk(9%, 64.7%, 0%, 47.8%)
CIE-LABlab(33.55, 44.94, -33.68)
CIE-LCHlch(33.55, 56.16, 323.15°)
OKLaboklab(44.64% 0.1194 -0.0938)
OKLCHoklch(44.64% 0.152 321.8)
XYZxyz(13.1349, 7.7921, 22.9979)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F85 #3B852F
analogous
#4E2F85 #792F85 #852F66
triadic
#792F85 #85792F #2F8579
tetradic
#792F85 #854E2F #3B852F #2F6685
square
#792F85 #854E2F #3B852F #2F6685
split-complementary
#792F85 #66852F #2F854E
monochromatic
#270F2B #501F58 #792F85 #A23FB2 #BB66C9

Accessibility & contrast

On white

8.21
#792F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F85
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F85#FFFFFF#000000##FFFFFF
##792F851.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4988
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#7A3D55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792f85;
/* rgb */ color: rgb(121, 47, 133);
/* oklch */ color: oklch(44.6% 0.152 321.8);
Tailwind
colors: {
  custom: {
    50: '#a26da9',
    500: '#792f85',
    950: '#000000',
  },
}
SCSS
$custom: #792f85;
$custom-light: #a26da9;
$custom-dark: #000000;
JSON
{
  "hex": "#792f85",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 291.628,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.1518,
    "h": 321.8
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#792F85
secondary
#6BB060
accent
#D75063
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792F85

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

Preview Lab → · Contrast checker → · Palette generator →

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