#792185#792185

#792185 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.170 H 322.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#792185
RGBrgb(121, 33, 133)
HSLhsl(293, 60%, 33%)
HSVhsv(293, 75%, 52%)
CMYKcmyk(9%, 75.2%, 0%, 47.8%)
CIE-LABlab(31.46, 50.81, -37.01)
CIE-LCHlch(31.46, 62.87, 323.93°)
OKLaboklab(43.14% 0.1353 -0.1034)
OKLCHoklch(43.14% 0.17 322.6)
XYZxyz(12.6622, 6.8469, 22.8404)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792185 #2D8521
analogous
#472185 #792185 #85215F
triadic
#792185 #857921 #218579
tetradic
#792185 #854721 #2D8521 #215F85
square
#792185 #854721 #2D8521 #215F85
split-complementary
#792185 #5F8521 #218547
monochromatic
#200923 #4C1554 #792185 #A62DB6 #C34DD3

Accessibility & contrast

On white

8.86
#792185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#792185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792185
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792185#FFFFFF#000000##FFFFFF
##7921851.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#7B3451
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792185;
/* rgb */ color: rgb(121, 33, 133);
/* oklch */ color: oklch(43.1% 0.170 322.6);
Tailwind
colors: {
  custom: {
    50: '#a366a9',
    500: '#792185',
    950: '#000000',
  },
}
SCSS
$custom: #792185;
$custom-light: #a366a9;
$custom-dark: #000000;
JSON
{
  "hex": "#792185",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 292.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.17027,
    "h": 322.6
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#792185
secondary
#58B64C
accent
#E34457
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792185

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

Preview Lab → · Contrast checker → · Palette generator →

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