#793290#793290

#793290 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.158 H 316.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#793290
RGBrgb(121, 50, 144)
HSLhsl(285, 48%, 38%)
HSVhsv(285, 65%, 56%)
CMYKcmyk(16%, 65.3%, 0%, 43.5%)
CIE-LABlab(34.72, 45.80, -38.59)
CIE-LCHlch(34.72, 59.89, 319.88°)
OKLaboklab(45.7% 0.1157 -0.1081)
OKLCHoklch(45.7% 0.158 316.9)
XYZxyz(14.0591, 8.3603, 27.2533)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793290 #499032
analogous
#4A3290 #793290 #903278
triadic
#793290 #907932 #329079
tetradic
#793290 #904A32 #499032 #327890
square
#793290 #904A32 #499032 #327890
split-complementary
#793290 #789032 #32904A
monochromatic
#2D1235 #532263 #793290 #9F42BD #B66FCD

Accessibility & contrast

On white

7.86
#793290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #793290
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793290#FFFFFF#000000##FFFFFF
##7932901.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D93
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#78435C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793290;
/* rgb */ color: rgb(121, 50, 144);
/* oklch */ color: oklch(45.7% 0.158 316.9);
Tailwind
colors: {
  custom: {
    50: '#a36fb1',
    500: '#793290',
    950: '#000000',
  },
}
SCSS
$custom: #793290;
$custom-light: #a36fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#793290",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 285.319,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.15832,
    "h": 316.9
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#793290
secondary
#7BB569
accent
#D85071
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793290

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

Preview Lab → · Contrast checker → · Palette generator →

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