#793390#793390

#793390 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.157 H 316.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#793390
RGBrgb(121, 51, 144)
HSLhsl(285, 48%, 38%)
HSVhsv(285, 65%, 56%)
CMYKcmyk(16%, 64.6%, 0%, 43.5%)
CIE-LABlab(34.90, 45.32, -38.31)
CIE-LCHlch(34.90, 59.34, 319.79°)
OKLaboklab(45.83% 0.1144 -0.1073)
OKLCHoklch(45.83% 0.157 316.8)
XYZxyz(14.1023, 8.4468, 27.2677)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793390 #4A9033
analogous
#4A3390 #793390 #903378
triadic
#793390 #907933 #339079
tetradic
#793390 #904A33 #4A9033 #337890
square
#793390 #904A33 #4A9033 #337890
split-complementary
#793390 #789033 #33904A
monochromatic
#2D1336 #532363 #793390 #9F44BD #B671CD

Accessibility & contrast

On white

7.81
#793390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#793390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793390
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793390#FFFFFF#000000##FFFFFF
##7933901.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E93
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#78445D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793390;
/* rgb */ color: rgb(121, 51, 144);
/* oklch */ color: oklch(45.8% 0.157 316.8);
Tailwind
colors: {
  custom: {
    50: '#a26fb1',
    500: '#793390',
    950: '#000000',
  },
}
SCSS
$custom: #793390;
$custom-light: #a26fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#793390",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 285.161,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.15686,
    "h": 316.8
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#793390
secondary
#7DB56A
accent
#D75172
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793390

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

Preview Lab → · Contrast checker → · Palette generator →

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