#792487#792487

#792487 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.169 H 321.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#792487
RGBrgb(121, 36, 135)
HSLhsl(292, 58%, 34%)
HSVhsv(292, 73%, 53%)
CMYKcmyk(10.4%, 73.3%, 0%, 47.1%)
CIE-LABlab(31.98, 50.06, -37.42)
CIE-LCHlch(31.98, 62.50, 323.22°)
OKLaboklab(43.55% 0.1321 -0.1046)
OKLCHoklch(43.55% 0.169 321.6)
XYZxyz(12.8887, 7.0767, 23.6040)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792487 #328724
analogous
#472487 #792487 #872463
triadic
#792487 #877924 #248779
tetradic
#792487 #874724 #328724 #246387
square
#792487 #874724 #328724 #246387
split-complementary
#792487 #638724 #248747
monochromatic
#220A26 #4E1757 #792487 #A431B7 #C054D1

Accessibility & contrast

On white

8.69
#792487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#792487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792487
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792487#FFFFFF#000000##FFFFFF
##7924871.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#314E85
Tritanopia (blue-blind)
#7A3653
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792487;
/* rgb */ color: rgb(121, 36, 135);
/* oklch */ color: oklch(43.6% 0.169 321.6);
Tailwind
colors: {
  custom: {
    50: '#a367aa',
    500: '#792487',
    950: '#000000',
  },
}
SCSS
$custom: #792487;
$custom-light: #a367aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792487",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 291.515,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.1685,
    "h": 321.6
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#792487
secondary
#5FB551
accent
#E1475D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792487

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

Preview Lab → · Contrast checker → · Palette generator →

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