#792C97#792C97

#792C97 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.174 H 314.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#792C97
RGBrgb(121, 44, 151)
HSLhsl(283, 55%, 38%)
HSVhsv(283, 71%, 59%)
CMYKcmyk(19.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(34.19, 50.02, -43.72)
CIE-LCHlch(34.19, 66.43, 318.85°)
OKLaboklab(45.47% 0.1223 -0.1231)
OKLCHoklch(45.47% 0.174 314.8)
XYZxyz(14.3708, 8.1012, 30.0788)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C97 #4A972C
analogous
#442C97 #792C97 #972C7F
triadic
#792C97 #97792C #2C9779
tetradic
#792C97 #97442C #4A972C #2C7F97
square
#792C97 #97442C #4A972C #2C7F97
split-complementary
#792C97 #7F972C #2C9744
monochromatic
#2D1038 #531E68 #792C97 #9F3AC6 #B66AD4

Accessibility & contrast

On white

8.01
#792C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#792C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C97
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C97#FFFFFF#000000##FFFFFF
##792C971.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#285295
Tritanopia (blue-blind)
#76425E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792c97;
/* rgb */ color: rgb(121, 44, 151);
/* oklch */ color: oklch(45.5% 0.174 314.8);
Tailwind
colors: {
  custom: {
    50: '#a36cb6',
    500: '#792c97',
    950: '#000000',
  },
}
SCSS
$custom: #792c97;
$custom-light: #a36cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#792c97",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 283.178,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.17352,
    "h": 314.8
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#792C97
secondary
#7DBA65
accent
#DE4A73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792C97

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

Preview Lab → · Contrast checker → · Palette generator →

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