#792787#792787

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

Color values

HEX#792787
RGBrgb(121, 39, 135)
HSLhsl(291, 55%, 34%)
HSVhsv(291, 71%, 53%)
CMYKcmyk(10.4%, 71.1%, 0%, 47.1%)
CIE-LABlab(32.40, 48.86, -36.74)
CIE-LCHlch(32.40, 61.14, 323.06°)
OKLaboklab(43.86% 0.1289 -0.1026)
OKLCHoklch(43.86% 0.165 321.5)
XYZxyz(12.9834, 7.2659, 23.6356)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792787 #358727
analogous
#492787 #792787 #872765
triadic
#792787 #877927 #278779
tetradic
#792787 #874927 #358727 #276587
square
#792787 #874927 #358727 #276587
split-complementary
#792787 #658727 #278749
monochromatic
#240C28 #4E1958 #792787 #A435B6 #BE59CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792787#FFFFFF#000000##FFFFFF
##7927871.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)
#03468A
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#7A3854
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792787;
/* rgb */ color: rgb(121, 39, 135);
/* oklch */ color: oklch(43.9% 0.165 321.5);
Tailwind
colors: {
  custom: {
    50: '#a369aa',
    500: '#792787',
    950: '#000000',
  },
}
SCSS
$custom: #792787;
$custom-light: #a369aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792787",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 291.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.16475,
    "h": 321.5
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#792787
secondary
#63B456
accent
#DF495F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792787

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

Preview Lab → · Contrast checker → · Palette generator →

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