#792995#792995

#792995 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.175 H 315.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#792995
RGBrgb(121, 41, 149)
HSLhsl(284, 57%, 37%)
HSVhsv(284, 72%, 58%)
CMYKcmyk(18.8%, 72.5%, 0%, 41.6%)
CIE-LABlab(33.61, 50.87, -43.44)
CIE-LCHlch(33.61, 66.89, 319.51°)
OKLaboklab(45.01% 0.1257 -0.1222)
OKLCHoklch(45.01% 0.175 315.8)
XYZxyz(14.1021, 7.8213, 29.1948)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792995 #459529
analogous
#432995 #792995 #95297B
triadic
#792995 #957929 #299579
tetradic
#792995 #954329 #459529 #297B95
square
#792995 #954329 #459529 #297B95
split-complementary
#792995 #7B9529 #299543
monochromatic
#2B0F35 #521C65 #792995 #A036C5 #B764D4

Accessibility & contrast

On white

8.19
#792995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792995
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792995#FFFFFF#000000##FFFFFF
##7929951.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#773F5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792995;
/* rgb */ color: rgb(121, 41, 149);
/* oklch */ color: oklch(45.0% 0.175 315.8);
Tailwind
colors: {
  custom: {
    50: '#a36ab5',
    500: '#792995',
    950: '#000000',
  },
}
SCSS
$custom: #792995;
$custom-light: #a36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#792995",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 284.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.17536,
    "h": 315.8
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#792995
secondary
#77BA60
accent
#E0486F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792995

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

Preview Lab → · Contrast checker → · Palette generator →

#792995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva