#792485#792485

#792485 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.167 H 322.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#792485
RGBrgb(121, 36, 133)
HSLhsl(293, 57%, 33%)
HSVhsv(293, 73%, 52%)
CMYKcmyk(9%, 72.9%, 0%, 47.8%)
CIE-LABlab(31.85, 49.68, -36.38)
CIE-LCHlch(31.85, 61.57, 323.79°)
OKLaboklab(43.42% 0.1322 -0.1016)
OKLCHoklch(43.42% 0.167 322.5)
XYZxyz(12.7492, 7.0209, 22.8694)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792485 #308524
analogous
#482485 #792485 #852460
triadic
#792485 #857924 #248579
tetradic
#792485 #854824 #308524 #246085
square
#792485 #854824 #308524 #246085
split-complementary
#792485 #608524 #248548
monochromatic
#210A25 #4D1755 #792485 #A531B5 #C153D0

Accessibility & contrast

On white

8.74
#792485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#792485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792485
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792485#FFFFFF#000000##FFFFFF
##7924851.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#7B3552
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792485;
/* rgb */ color: rgb(121, 36, 133);
/* oklch */ color: oklch(43.4% 0.167 322.5);
Tailwind
colors: {
  custom: {
    50: '#a367a9',
    500: '#792485',
    950: '#000000',
  },
}
SCSS
$custom: #792485;
$custom-light: #a367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#792485",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 292.577,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43422,
    "c": 0.16671,
    "h": 322.5
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#792485
secondary
#5DB450
accent
#E1475A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792485

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

Preview Lab → · Contrast checker → · Palette generator →

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