#793497#793497

#793497 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.163 H 314.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#793497
RGBrgb(121, 52, 151)
HSLhsl(282, 49%, 40%)
HSVhsv(282, 66%, 59%)
CMYKcmyk(19.9%, 65.6%, 0%, 40.8%)
CIE-LABlab(35.51, 46.35, -41.60)
CIE-LCHlch(35.51, 62.28, 318.09°)
OKLaboklab(46.41% 0.113 -0.1169)
OKLCHoklch(46.41% 0.163 314)
XYZxyz(14.6981, 8.7558, 30.1879)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793497 #529734
analogous
#483497 #793497 #973484
triadic
#793497 #977934 #349779
tetradic
#793497 #974834 #529734 #348497
square
#793497 #974834 #529734 #348497
split-complementary
#793497 #849734 #349748
monochromatic
#30153C #552469 #793497 #9C48C0 #B476D0

Accessibility & contrast

On white

7.63
#793497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#793497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793497
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793497#FFFFFF#000000##FFFFFF
##7934971.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#305595
Tritanopia (blue-blind)
#764761
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #793497;
/* rgb */ color: rgb(121, 52, 151);
/* oklch */ color: oklch(46.4% 0.163 314.0);
Tailwind
colors: {
  custom: {
    50: '#a370b6',
    500: '#793497',
    950: '#000000',
  },
}
SCSS
$custom: #793497;
$custom-light: #a370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#793497",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 281.818,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.16263,
    "h": 314
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#793497
secondary
#85B86F
accent
#D84F79
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793497

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

Preview Lab → · Contrast checker → · Palette generator →

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