#792095#792095

#792095 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.186 H 316.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#792095
RGBrgb(121, 32, 149)
HSLhsl(286, 65%, 35%)
HSVhsv(286, 79%, 58%)
CMYKcmyk(18.8%, 78.5%, 0%, 41.6%)
CIE-LABlab(32.41, 54.29, -45.36)
CIE-LCHlch(32.41, 70.75, 320.12°)
OKLaboklab(44.16% 0.1344 -0.1278)
OKLCHoklch(44.16% 0.186 316.4)
XYZxyz(13.8257, 7.2685, 29.1026)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792095 #3C9520
analogous
#3E2095 #792095 #952076
triadic
#792095 #957920 #209579
tetradic
#792095 #953E20 #3C9520 #207695
square
#792095 #953E20 #3C9520 #207695
split-complementary
#792095 #769520 #20953E
monochromatic
#270A30 #501563 #792095 #A22BC7 #BB55DA

Accessibility & contrast

On white

8.56
#792095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792095
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792095#FFFFFF#000000##FFFFFF
##7920951.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#204F92
Tritanopia (blue-blind)
#773A5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792095;
/* rgb */ color: rgb(121, 32, 149);
/* oklch */ color: oklch(44.2% 0.186 316.4);
Tailwind
colors: {
  custom: {
    50: '#a466b5',
    500: '#792095',
    950: '#000000',
  },
}
SCSS
$custom: #792095;
$custom-light: #a466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#792095",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 285.641,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.18553,
    "h": 316.4
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#792095
secondary
#6CBE53
accent
#E84068
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792095

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

Preview Lab → · Contrast checker → · Palette generator →

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