#792887#792887

#792887 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.163 H 321.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#792887
RGBrgb(121, 40, 135)
HSLhsl(291, 54%, 34%)
HSVhsv(291, 70%, 53%)
CMYKcmyk(10.4%, 70.4%, 0%, 47.1%)
CIE-LABlab(32.55, 48.45, -36.51)
CIE-LCHlch(32.55, 60.66, 323.00°)
OKLaboklab(43.96% 0.1278 -0.102)
OKLCHoklch(43.96% 0.163 321.4)
XYZxyz(13.0166, 7.3325, 23.6467)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792887 #368728
analogous
#4A2887 #792887 #872866
triadic
#792887 #877928 #288779
tetradic
#792887 #874A28 #368728 #286687
square
#792887 #874A28 #368728 #286687
split-complementary
#792887 #668728 #28874A
monochromatic
#240C29 #4F1A58 #792887 #A336B6 #BD5BCE

Accessibility & contrast

On white

8.51
#792887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792887
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792887#FFFFFF#000000##FFFFFF
##7928871.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#335085
Tritanopia (blue-blind)
#7A3954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792887;
/* rgb */ color: rgb(121, 40, 135);
/* oklch */ color: oklch(44.0% 0.163 321.4);
Tailwind
colors: {
  custom: {
    50: '#a369aa',
    500: '#792887',
    950: '#000000',
  },
}
SCSS
$custom: #792887;
$custom-light: #a369aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792887",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 291.158,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.16346,
    "h": 321.4
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#792887
secondary
#65B457
accent
#DE4A60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792887

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

Preview Lab → · Contrast checker → · Palette generator →

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