#793192#793192

#793192 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.162 H 316.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#793192
RGBrgb(121, 49, 146)
HSLhsl(285, 50%, 38%)
HSVhsv(285, 66%, 57%)
CMYKcmyk(17.1%, 66.4%, 0%, 42.7%)
CIE-LABlab(34.68, 46.70, -39.89)
CIE-LCHlch(34.68, 61.42, 319.50°)
OKLaboklab(45.71% 0.1168 -0.1119)
OKLCHoklch(45.71% 0.162 316.2)
XYZxyz(14.1710, 8.3374, 28.0514)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793192 #4A9231
analogous
#483192 #793192 #92317A
triadic
#793192 #927931 #319279
tetradic
#793192 #924831 #4A9231 #317A92
square
#793192 #924831 #4A9231 #317A92
split-complementary
#793192 #7A9231 #319248
monochromatic
#2D1236 #532264 #793192 #9F41BF #B66FCF

Accessibility & contrast

On white

7.87
#793192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #793192
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793192#FFFFFF#000000##FFFFFF
##7931921.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084D95
Deuteranopia (green-blind)
#315490
Tritanopia (blue-blind)
#78435D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793192;
/* rgb */ color: rgb(121, 49, 146);
/* oklch */ color: oklch(45.7% 0.162 316.2);
Tailwind
colors: {
  custom: {
    50: '#a36eb2',
    500: '#793192',
    950: '#000000',
  },
}
SCSS
$custom: #793192;
$custom-light: #a36eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#793192",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 284.536,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4571,
    "c": 0.16179,
    "h": 316.2
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#793192
secondary
#7DB669
accent
#D94F72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793192

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

Preview Lab → · Contrast checker → · Palette generator →

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