#792083#792083

#792083 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.170 H 323.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#792083
RGBrgb(121, 32, 131)
HSLhsl(294, 61%, 32%)
HSVhsv(294, 76%, 51%)
CMYKcmyk(7.6%, 75.6%, 0%, 48.6%)
CIE-LABlab(31.20, 50.80, -36.17)
CIE-LCHlch(31.20, 62.36, 324.55°)
OKLaboklab(42.92% 0.1364 -0.1009)
OKLCHoklch(42.92% 0.17 323.5)
XYZxyz(12.4980, 6.7374, 22.1105)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792083 #2A8320
analogous
#472083 #792083 #83205C
triadic
#792083 #837920 #208379
tetradic
#792083 #834720 #2A8320 #205C83
square
#792083 #834720 #2A8320 #205C83
split-complementary
#792083 #5C8320 #208347
monochromatic
#1E0821 #4C1452 #792083 #A62CB4 #C54AD3

Accessibility & contrast

On white

8.95
#792083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#792083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792083
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792083#FFFFFF#000000##FFFFFF
##7920831.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#7B3250
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792083;
/* rgb */ color: rgb(121, 32, 131);
/* oklch */ color: oklch(42.9% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#a366a7',
    500: '#792083',
    950: '#000000',
  },
}
SCSS
$custom: #792083;
$custom-light: #a366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#792083",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 293.939,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.16967,
    "h": 323.5
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#792083
secondary
#54B649
accent
#E44454
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792083

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

Preview Lab → · Contrast checker → · Palette generator →

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