#793787#793787

#793787 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.8% C 0.141 H 320.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#793787
RGBrgb(121, 55, 135)
HSLhsl(290, 42%, 37%)
HSVhsv(290, 59%, 53%)
CMYKcmyk(10.4%, 59.3%, 0%, 47.1%)
CIE-LABlab(35.10, 41.43, -32.46)
CIE-LCHlch(35.10, 52.63, 321.92°)
OKLaboklab(45.81% 0.1089 -0.0903)
OKLCHoklch(45.81% 0.141 320.3)
XYZxyz(13.6240, 8.5472, 23.8491)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793787 #458737
analogous
#513787 #793787 #87376D
triadic
#793787 #877937 #378779
tetradic
#793787 #875137 #458737 #376D87
square
#793787 #875137 #458737 #376D87
split-complementary
#793787 #6D8737 #378751
monochromatic
#2B1430 #52255C #793787 #A049B2 #B773C6

Accessibility & contrast

On white

7.75
#793787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#793787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793787
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793787#FFFFFF#000000##FFFFFF
##7937871.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#7A4359
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #793787;
/* rgb */ color: rgb(121, 55, 135);
/* oklch */ color: oklch(45.8% 0.141 320.3);
Tailwind
colors: {
  custom: {
    50: '#a272aa',
    500: '#793787',
    950: '#000000',
  },
}
SCSS
$custom: #793787;
$custom-light: #a272aa;
$custom-dark: #000000;
JSON
{
  "hex": "#793787",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 289.5,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.14142,
    "h": 320.3
  },
  "luminance": 0.08547
}

Semantic roles & 50–950 ramp

primary
#793787
secondary
#77AF6B
accent
#D2566C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793787

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

Preview Lab → · Contrast checker → · Palette generator →

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