#793293#793293

#793293 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 315.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#793293
RGBrgb(121, 50, 147)
HSLhsl(284, 49%, 39%)
HSVhsv(284, 66%, 58%)
CMYKcmyk(17.7%, 66%, 0%, 42.4%)
CIE-LABlab(34.91, 46.44, -40.13)
CIE-LCHlch(34.91, 61.37, 319.17°)
OKLaboklab(45.9% 0.1156 -0.1126)
OKLCHoklch(45.9% 0.161 315.7)
XYZxyz(14.2914, 8.4532, 28.4769)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793293 #4C9332
analogous
#483293 #793293 #93327C
triadic
#793293 #937932 #329379
tetradic
#793293 #934832 #4C9332 #327C93
square
#793293 #934832 #4C9332 #327C93
split-complementary
#793293 #7C9332 #329348
monochromatic
#2E1338 #532265 #793293 #9E43BF #B571CF

Accessibility & contrast

On white

7.80
#793293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #793293
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793293#FFFFFF#000000##FFFFFF
##7932931.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E96
Deuteranopia (green-blind)
#315491
Tritanopia (blue-blind)
#77445E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793293;
/* rgb */ color: rgb(121, 50, 147);
/* oklch */ color: oklch(45.9% 0.161 315.7);
Tailwind
colors: {
  custom: {
    50: '#a36fb3',
    500: '#793293',
    950: '#000000',
  },
}
SCSS
$custom: #793293;
$custom-light: #a36fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#793293",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 283.918,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.16138,
    "h": 315.7
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#793293
secondary
#7FB76A
accent
#D94F74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793293

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

Preview Lab → · Contrast checker → · Palette generator →

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