#792E93#792E93

#792E93 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.167 H 316.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#792E93
RGBrgb(121, 46, 147)
HSLhsl(285, 52%, 38%)
HSVhsv(285, 69%, 58%)
CMYKcmyk(17.7%, 68.7%, 0%, 42.4%)
CIE-LABlab(34.24, 48.29, -41.19)
CIE-LCHlch(34.24, 63.47, 319.54°)
OKLaboklab(45.42% 0.1204 -0.1157)
OKLCHoklch(45.42% 0.167 316.1)
XYZxyz(14.1278, 8.1261, 28.4224)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E93 #48932E
analogous
#462E93 #792E93 #932E7B
triadic
#792E93 #93792E #2E9379
tetradic
#792E93 #93462E #48932E #2E7B93
square
#792E93 #93462E #48932E #2E7B93
split-complementary
#792E93 #7B932E #2E9346
monochromatic
#2C1136 #531F64 #792E93 #9F3DC2 #B66BD1

Accessibility & contrast

On white

8.00
#792E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#792E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E93
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E93#FFFFFF#000000##FFFFFF
##792E931.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792e93;
/* rgb */ color: rgb(121, 46, 147);
/* oklch */ color: oklch(45.4% 0.167 316.1);
Tailwind
colors: {
  custom: {
    50: '#a36db3',
    500: '#792e93',
    950: '#000000',
  },
}
SCSS
$custom: #792e93;
$custom-light: #a36db3;
$custom-dark: #000000;
JSON
{
  "hex": "#792e93",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 284.554,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.16695,
    "h": 316.1
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#792E93
secondary
#7AB865
accent
#DC4C71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E93

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

Preview Lab → · Contrast checker → · Palette generator →

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