#792097#792097

#792097 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.187 H 315.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#792097
RGBrgb(121, 32, 151)
HSLhsl(285, 65%, 36%)
HSVhsv(285, 79%, 59%)
CMYKcmyk(19.9%, 78.8%, 0%, 40.8%)
CIE-LABlab(32.55, 54.69, -46.36)
CIE-LCHlch(32.55, 71.70, 319.72°)
OKLaboklab(44.3% 0.1341 -0.1308)
OKLCHoklch(44.3% 0.187 315.7)
XYZxyz(13.9867, 7.3329, 29.9508)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792097 #3E9720
analogous
#3D2097 #792097 #972079
triadic
#792097 #977920 #209779
tetradic
#792097 #973D20 #3E9720 #207997
square
#792097 #973D20 #3E9720 #207997
split-complementary
#792097 #799720 #20973D
monochromatic
#280B32 #511564 #792097 #A12BC9 #BA56DB

Accessibility & contrast

On white

8.51
#792097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792097
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792097#FFFFFF#000000##FFFFFF
##7920971.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1D4F94
Tritanopia (blue-blind)
#773B5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792097;
/* rgb */ color: rgb(121, 32, 151);
/* oklch */ color: oklch(44.3% 0.187 315.7);
Tailwind
colors: {
  custom: {
    50: '#a466b6',
    500: '#792097',
    950: '#000000',
  },
}
SCSS
$custom: #792097;
$custom-light: #a466b6;
$custom-dark: #000000;
JSON
{
  "hex": "#792097",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 284.874,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.18732,
    "h": 315.7
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#792097
secondary
#6FBF54
accent
#E8406A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792097

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

Preview Lab → · Contrast checker → · Palette generator →

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