#792195#792195

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

Color values

HEX#792195
RGBrgb(121, 33, 149)
HSLhsl(286, 64%, 36%)
HSVhsv(286, 78%, 58%)
CMYKcmyk(18.8%, 77.9%, 0%, 41.6%)
CIE-LABlab(32.53, 53.94, -45.17)
CIE-LCHlch(32.53, 70.36, 320.06°)
OKLaboklab(44.24% 0.1336 -0.1273)
OKLCHoklch(44.24% 0.184 316.4)
XYZxyz(13.8530, 7.3232, 29.1117)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792195 #3D9521
analogous
#3F2195 #792195 #952177
triadic
#792195 #957921 #219579
tetradic
#792195 #953F21 #3D9521 #217795
square
#792195 #953F21 #3D9521 #217795
split-complementary
#792195 #779521 #21953F
monochromatic
#280B31 #501663 #792195 #A22CC7 #BA57DA

Accessibility & contrast

On white

8.52
#792195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792195
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792195#FFFFFF#000000##FFFFFF
##7921951.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792195;
/* rgb */ color: rgb(121, 33, 149);
/* oklch */ color: oklch(44.2% 0.184 316.4);
Tailwind
colors: {
  custom: {
    50: '#a467b5',
    500: '#792195',
    950: '#000000',
  },
}
SCSS
$custom: #792195;
$custom-light: #a467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#792195",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 285.517,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44243,
    "c": 0.18449,
    "h": 316.4
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#792195
secondary
#6EBE54
accent
#E74169
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792195

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

Preview Lab → · Contrast checker → · Palette generator →

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