#793585#793585

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

Color values

HEX#793585
RGBrgb(121, 53, 133)
HSLhsl(291, 43%, 36%)
HSVhsv(291, 60%, 52%)
CMYKcmyk(9%, 60.2%, 0%, 47.8%)
CIE-LABlab(34.61, 42.03, -32.00)
CIE-LCHlch(34.61, 52.82, 322.72°)
OKLaboklab(45.41% 0.1115 -0.0889)
OKLCHoklch(45.41% 0.143 321.4)
XYZxyz(13.3914, 8.3052, 23.0834)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793585 #418535
analogous
#513585 #793585 #853569
triadic
#793585 #857935 #358579
tetradic
#793585 #855135 #418535 #356985
square
#793585 #855135 #418535 #356985
split-complementary
#793585 #698535 #358551
monochromatic
#29122D #512459 #793585 #A146B1 #B96FC6

Accessibility & contrast

On white

7.89
#793585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#793585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793585
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793585#FFFFFF#000000##FFFFFF
##7935851.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C88
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#7A4158
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #793585;
/* rgb */ color: rgb(121, 53, 133);
/* oklch */ color: oklch(45.4% 0.143 321.4);
Tailwind
colors: {
  custom: {
    50: '#a270a9',
    500: '#793585',
    950: '#000000',
  },
}
SCSS
$custom: #793585;
$custom-light: #a270a9;
$custom-dark: #000000;
JSON
{
  "hex": "#793585",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 291,
    "s": 43.011,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.14258,
    "h": 321.4
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#793585
secondary
#72AE68
accent
#D35568
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793585

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

Preview Lab → · Contrast checker → · Palette generator →

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