#793887#793887

#793887 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.140 H 320.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#793887
RGBrgb(121, 56, 135)
HSLhsl(289, 41%, 37%)
HSVhsv(289, 59%, 53%)
CMYKcmyk(10.4%, 58.5%, 0%, 47.1%)
CIE-LABlab(35.29, 40.91, -32.16)
CIE-LCHlch(35.29, 52.04, 321.83°)
OKLaboklab(45.94% 0.1075 -0.0894)
OKLCHoklch(45.94% 0.14 320.2)
XYZxyz(13.6720, 8.6432, 23.8651)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793887 #468738
analogous
#523887 #793887 #87386E
triadic
#793887 #877938 #388779
tetradic
#793887 #875238 #468738 #386E87
square
#793887 #875238 #468738 #386E87
split-complementary
#793887 #6E8738 #388752
monochromatic
#2B1430 #52265C #793887 #A04AB2 #B774C5

Accessibility & contrast

On white

7.70
#793887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#793887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793887
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793887#FFFFFF#000000##FFFFFF
##7938871.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E8A
Deuteranopia (green-blind)
#3F5585
Tritanopia (blue-blind)
#7A445A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #793887;
/* rgb */ color: rgb(121, 56, 135);
/* oklch */ color: oklch(45.9% 0.140 320.2);
Tailwind
colors: {
  custom: {
    50: '#a272aa',
    500: '#793887',
    950: '#000000',
  },
}
SCSS
$custom: #793887;
$custom-light: #a272aa;
$custom-dark: #000000;
JSON
{
  "hex": "#793887",
  "rgb": {
    "r": 121,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 289.367,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.1398,
    "h": 320.2
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#793887
secondary
#78AE6D
accent
#D1576C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793887

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

Preview Lab → · Contrast checker → · Palette generator →

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