#793592#793592

#793592 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.156 H 315.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#793592
RGBrgb(121, 53, 146)
HSLhsl(284, 47%, 39%)
HSVhsv(284, 64%, 57%)
CMYKcmyk(17.1%, 63.7%, 0%, 42.7%)
CIE-LABlab(35.37, 44.77, -38.77)
CIE-LCHlch(35.37, 59.23, 319.11°)
OKLaboklab(46.22% 0.1119 -0.1087)
OKLCHoklch(46.22% 0.156 315.8)
XYZxyz(14.3458, 8.6870, 28.1096)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793592 #4E9235
analogous
#4B3592 #793592 #92357D
triadic
#793592 #927935 #359279
tetradic
#793592 #924B35 #4E9235 #357D92
square
#793592 #924B35 #4E9235 #357D92
split-complementary
#793592 #7D9235 #35924B
monochromatic
#2F1438 #542565 #793592 #9D48BC #B575CD

Accessibility & contrast

On white

7.67
#793592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#793592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793592
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793592#FFFFFF#000000##FFFFFF
##7935921.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#355590
Tritanopia (blue-blind)
#77465E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #793592;
/* rgb */ color: rgb(121, 53, 146);
/* oklch */ color: oklch(46.2% 0.156 315.8);
Tailwind
colors: {
  custom: {
    50: '#a271b2',
    500: '#793592',
    950: '#000000',
  },
}
SCSS
$custom: #793592;
$custom-light: #a271b2;
$custom-dark: #000000;
JSON
{
  "hex": "#793592",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 283.871,
    "s": 46.734,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.15596,
    "h": 315.8
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#793592
secondary
#81B56E
accent
#D65175
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793592

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

Preview Lab → · Contrast checker → · Palette generator →

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