#792892#792892

#792892 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.174 H 317.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#792892
RGBrgb(121, 40, 146)
HSLhsl(286, 57%, 36%)
HSVhsv(286, 73%, 57%)
CMYKcmyk(17.1%, 72.6%, 0%, 42.7%)
CIE-LABlab(33.26, 50.66, -42.16)
CIE-LCHlch(33.26, 65.91, 320.24°)
OKLaboklab(44.7% 0.1271 -0.1185)
OKLCHoklch(44.7% 0.174 317)
XYZxyz(13.8315, 7.6584, 27.9382)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792892 #419228
analogous
#442892 #792892 #922876
triadic
#792892 #927928 #289279
tetradic
#792892 #924428 #419228 #287692
square
#792892 #924428 #419228 #287692
split-complementary
#792892 #769228 #289244
monochromatic
#290E32 #511B62 #792892 #A135C2 #B961D4

Accessibility & contrast

On white

8.30
#792892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792892
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792892#FFFFFF#000000##FFFFFF
##7928921.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792892;
/* rgb */ color: rgb(121, 40, 146);
/* oklch */ color: oklch(44.7% 0.174 317.0);
Tailwind
colors: {
  custom: {
    50: '#a36ab2',
    500: '#792892',
    950: '#000000',
  },
}
SCSS
$custom: #792892;
$custom-light: #a36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#792892",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 285.849,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.17375,
    "h": 317
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#792892
secondary
#72B95D
accent
#E0486C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792892

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

Preview Lab → · Contrast checker → · Palette generator →

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