#792183#792183

#792183 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.169 H 323.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#792183
RGBrgb(121, 33, 131)
HSLhsl(294, 60%, 32%)
HSVhsv(294, 75%, 51%)
CMYKcmyk(7.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(31.33, 50.44, -35.97)
CIE-LCHlch(31.33, 61.95, 324.51°)
OKLaboklab(43.01% 0.1354 -0.1003)
OKLCHoklch(43.01% 0.169 323.5)
XYZxyz(12.5254, 6.7921, 22.1196)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792183 #2B8321
analogous
#482183 #792183 #83215C
triadic
#792183 #837921 #218379
tetradic
#792183 #834821 #2B8321 #215C83
square
#792183 #834821 #2B8321 #215C83
split-complementary
#792183 #5C8321 #218348
monochromatic
#1F0821 #4C1552 #792183 #A62DB4 #C44CD2

Accessibility & contrast

On white

8.91
#792183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#792183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792183
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792183#FFFFFF#000000##FFFFFF
##7921831.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#7B3350
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792183;
/* rgb */ color: rgb(121, 33, 131);
/* oklch */ color: oklch(43.0% 0.169 323.5);
Tailwind
colors: {
  custom: {
    50: '#a366a7',
    500: '#792183',
    950: '#000000',
  },
}
SCSS
$custom: #792183;
$custom-light: #a366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#792183",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 293.878,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.16852,
    "h": 323.5
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#792183
secondary
#56B54B
accent
#E34555
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792183

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

Preview Lab → · Contrast checker → · Palette generator →

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