#792885#792885

#792885 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.162 H 322.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#792885
RGBrgb(121, 40, 133)
HSLhsl(292, 54%, 34%)
HSVhsv(292, 70%, 52%)
CMYKcmyk(9%, 69.9%, 0%, 47.8%)
CIE-LABlab(32.43, 48.06, -35.46)
CIE-LCHlch(32.43, 59.72, 323.58°)
OKLaboklab(43.83% 0.1278 -0.0989)
OKLCHoklch(43.83% 0.162 322.3)
XYZxyz(12.8771, 7.2767, 22.9120)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792885 #348528
analogous
#4B2885 #792885 #852863
triadic
#792885 #857928 #288579
tetradic
#792885 #854B28 #348528 #286385
square
#792885 #854B28 #348528 #286385
split-complementary
#792885 #638528 #28854B
monochromatic
#230C27 #4E1A56 #792885 #A436B4 #BE5ACD

Accessibility & contrast

On white

8.55
#792885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792885
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792885#FFFFFF#000000##FFFFFF
##7928851.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#354F83
Tritanopia (blue-blind)
#7B3853
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792885;
/* rgb */ color: rgb(121, 40, 133);
/* oklch */ color: oklch(43.8% 0.162 322.3);
Tailwind
colors: {
  custom: {
    50: '#a369a9',
    500: '#792885',
    950: '#000000',
  },
}
SCSS
$custom: #792885;
$custom-light: #a369a9;
$custom-dark: #000000;
JSON
{
  "hex": "#792885",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 292.258,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.1616,
    "h": 322.3
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#792885
secondary
#62B356
accent
#DD4B5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792885

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

Preview Lab → · Contrast checker → · Palette generator →

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