#793785#793785

#793785 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.7% C 0.139 H 321.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#793785
RGBrgb(121, 55, 133)
HSLhsl(291, 41%, 37%)
HSVhsv(291, 59%, 52%)
CMYKcmyk(9%, 58.6%, 0%, 47.8%)
CIE-LABlab(34.99, 41.01, -31.40)
CIE-LCHlch(34.99, 51.65, 322.56°)
OKLaboklab(45.69% 0.1087 -0.0872)
OKLCHoklch(45.69% 0.139 321.3)
XYZxyz(13.4845, 8.4914, 23.1145)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793785 #438537
analogous
#523785 #793785 #85376A
triadic
#793785 #857937 #378579
tetradic
#793785 #855237 #438537 #376A85
square
#793785 #855237 #438537 #376A85
split-complementary
#793785 #6A8537 #378552
monochromatic
#2A132E #52255A #793785 #A049B0 #B872C5

Accessibility & contrast

On white

7.78
#793785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#793785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793785
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793785#FFFFFF#000000##FFFFFF
##7937851.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E87
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#7A4258
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793785;
/* rgb */ color: rgb(121, 55, 133);
/* oklch */ color: oklch(45.7% 0.139 321.3);
Tailwind
colors: {
  custom: {
    50: '#a271a9',
    500: '#793785',
    950: '#000000',
  },
}
SCSS
$custom: #793785;
$custom-light: #a271a9;
$custom-dark: #000000;
JSON
{
  "hex": "#793785",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 290.769,
    "s": 41.489,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.13936,
    "h": 321.3
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#793785
secondary
#75AD6A
accent
#D15669
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793785

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

Preview Lab → · Contrast checker → · Palette generator →

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