#792792#792792

#792792 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.175 H 317.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#792792
RGBrgb(121, 39, 146)
HSLhsl(286, 58%, 36%)
HSVhsv(286, 73%, 57%)
CMYKcmyk(17.1%, 73.3%, 0%, 42.7%)
CIE-LABlab(33.12, 51.07, -42.39)
CIE-LCHlch(33.12, 66.37, 320.31°)
OKLaboklab(44.59% 0.1281 -0.1192)
OKLCHoklch(44.59% 0.175 317.1)
XYZxyz(13.7982, 7.5919, 27.9271)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792792 #409227
analogous
#442792 #792792 #922776
triadic
#792792 #927927 #279279
tetradic
#792792 #924427 #409227 #277692
square
#792792 #924427 #409227 #277692
split-complementary
#792792 #769227 #279244
monochromatic
#290D31 #511A62 #792792 #A134C2 #B95FD4

Accessibility & contrast

On white

8.34
#792792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#792792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792792
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792792#FFFFFF#000000##FFFFFF
##7927921.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#783D5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792792;
/* rgb */ color: rgb(121, 39, 146);
/* oklch */ color: oklch(44.6% 0.175 317.1);
Tailwind
colors: {
  custom: {
    50: '#a369b3',
    500: '#792792',
    950: '#000000',
  },
}
SCSS
$custom: #792792;
$custom-light: #a369b3;
$custom-dark: #000000;
JSON
{
  "hex": "#792792",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 285.981,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44594,
    "c": 0.17497,
    "h": 317.1
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#792792
secondary
#71BA5B
accent
#E1476B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792792

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

Preview Lab → · Contrast checker → · Palette generator →

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