#792895#792895

#792895 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.177 H 315.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#792895
RGBrgb(121, 40, 149)
HSLhsl(285, 58%, 37%)
HSVhsv(285, 73%, 58%)
CMYKcmyk(18.8%, 73.2%, 0%, 41.6%)
CIE-LABlab(33.46, 51.28, -43.67)
CIE-LCHlch(33.46, 67.36, 319.58°)
OKLaboklab(44.9% 0.1268 -0.1229)
OKLCHoklch(44.9% 0.177 315.9)
XYZxyz(14.0679, 7.7530, 29.1834)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792895 #449528
analogous
#432895 #792895 #95287B
triadic
#792895 #957928 #289579
tetradic
#792895 #954328 #449528 #287B95
square
#792895 #954328 #449528 #287B95
split-complementary
#792895 #7B9528 #289543
monochromatic
#2B0E35 #521B65 #792895 #A035C5 #B862D5

Accessibility & contrast

On white

8.23
#792895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792895
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792895#FFFFFF#000000##FFFFFF
##7928951.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792895;
/* rgb */ color: rgb(121, 40, 149);
/* oklch */ color: oklch(44.9% 0.177 315.9);
Tailwind
colors: {
  custom: {
    50: '#a36ab5',
    500: '#792895',
    950: '#000000',
  },
}
SCSS
$custom: #792895;
$custom-light: #a36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#792895",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 284.587,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.17659,
    "h": 315.9
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#792895
secondary
#76BB5E
accent
#E1476E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792895

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

Preview Lab → · Contrast checker → · Palette generator →

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