#792F93#792F93

#792F93 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.166 H 316.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#792F93
RGBrgb(121, 47, 147)
HSLhsl(284, 52%, 38%)
HSVhsv(284, 68%, 58%)
CMYKcmyk(17.7%, 68%, 0%, 42.4%)
CIE-LABlab(34.41, 47.84, -40.93)
CIE-LCHlch(34.41, 62.96, 319.45°)
OKLaboklab(45.54% 0.1192 -0.115)
OKLCHoklch(45.54% 0.166 316)
XYZxyz(14.1673, 8.2051, 28.4356)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F93 #49932F
analogous
#472F93 #792F93 #932F7B
triadic
#792F93 #93792F #2F9379
tetradic
#792F93 #93472F #49932F #2F7B93
square
#792F93 #93472F #49932F #2F7B93
split-complementary
#792F93 #7B932F #2F9347
monochromatic
#2D1136 #532065 #792F93 #9F3EC1 #B66CD0

Accessibility & contrast

On white

7.95
#792F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#792F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F93
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F93#FFFFFF#000000##FFFFFF
##792F931.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#2F5391
Tritanopia (blue-blind)
#77425D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792f93;
/* rgb */ color: rgb(121, 47, 147);
/* oklch */ color: oklch(45.5% 0.166 316.0);
Tailwind
colors: {
  custom: {
    50: '#a36db3',
    500: '#792f93',
    950: '#000000',
  },
}
SCSS
$custom: #792f93;
$custom-light: #a36db3;
$custom-dark: #000000;
JSON
{
  "hex": "#792f93",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 284.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.16559,
    "h": 316
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#792F93
secondary
#7BB766
accent
#DB4D72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792F93

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

Preview Lab → · Contrast checker → · Palette generator →

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