#793683#793683

#793683 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.4% C 0.139 H 322.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#793683
RGBrgb(121, 54, 131)
HSLhsl(292, 42%, 36%)
HSVhsv(292, 59%, 51%)
CMYKcmyk(7.6%, 58.8%, 0%, 48.6%)
CIE-LABlab(34.69, 41.11, -30.64)
CIE-LCHlch(34.69, 51.27, 323.30°)
OKLaboklab(45.43% 0.1099 -0.085)
OKLCHoklch(45.43% 0.139 322.3)
XYZxyz(13.3006, 8.3426, 22.3780)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793683 #408336
analogous
#533683 #793683 #833667
triadic
#793683 #837936 #368379
tetradic
#793683 #835336 #408336 #366783
square
#793683 #835336 #408336 #366783
split-complementary
#793683 #678336 #368353
monochromatic
#29122C #512458 #793683 #A148AE #B970C4

Accessibility & contrast

On white

7.87
#793683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#793683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793683
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793683#FFFFFF#000000##FFFFFF
##7936831.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D85
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#7B4157
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793683;
/* rgb */ color: rgb(121, 54, 131);
/* oklch */ color: oklch(45.4% 0.139 322.3);
Tailwind
colors: {
  custom: {
    50: '#a271a7',
    500: '#793683',
    950: '#000000',
  },
}
SCSS
$custom: #793683;
$custom-light: #a271a7;
$custom-dark: #000000;
JSON
{
  "hex": "#793683",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 292.208,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.13894,
    "h": 322.3
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#793683
secondary
#71AC68
accent
#D15666
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #793683

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

Preview Lab → · Contrast checker → · Palette generator →

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