#792087#792087

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

Color values

HEX#792087
RGBrgb(121, 32, 135)
HSLhsl(292, 62%, 33%)
HSVhsv(292, 76%, 53%)
CMYKcmyk(10.4%, 76.3%, 0%, 47.1%)
CIE-LABlab(31.46, 51.55, -38.26)
CIE-LCHlch(31.46, 64.20, 323.42°)
OKLaboklab(43.18% 0.1361 -0.107)
OKLCHoklch(43.18% 0.173 321.8)
XYZxyz(12.7744, 6.8480, 23.5659)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792087 #2E8720
analogous
#462087 #792087 #872061
triadic
#792087 #877920 #208779
tetradic
#792087 #874620 #2E8720 #206187
square
#792087 #874620 #2E8720 #206187
split-complementary
#792087 #618720 #208746
monochromatic
#200924 #4D1456 #792087 #A52CB8 #C24DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792087#FFFFFF#000000##FFFFFF
##7920871.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)
#00448A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#7A3452
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792087;
/* rgb */ color: rgb(121, 32, 135);
/* oklch */ color: oklch(43.2% 0.173 321.8);
Tailwind
colors: {
  custom: {
    50: '#a366aa',
    500: '#792087',
    950: '#000000',
  },
}
SCSS
$custom: #792087;
$custom-light: #a366aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792087",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 291.845,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.17315,
    "h": 321.8
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#792087
secondary
#5AB84B
accent
#E54359
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #792087

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

Preview Lab → · Contrast checker → · Palette generator →

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