#792B9F#792B9F

#792B9F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.183 H 312.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#792B9F
RGBrgb(121, 43, 159)
HSLhsl(280, 57%, 40%)
HSVhsv(280, 73%, 62%)
CMYKcmyk(23.9%, 73%, 0%, 37.6%)
CIE-LABlab(34.59, 52.17, -47.93)
CIE-LCHlch(34.59, 70.84, 317.42°)
OKLaboklab(45.93% 0.1225 -0.1355)
OKLCHoklch(45.93% 0.183 312.1)
XYZxyz(15.0059, 8.2963, 33.6050)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B9F #519F2B
analogous
#3F2B9F #792B9F #9F2B8B
triadic
#792B9F #9F792B #2B9F79
tetradic
#792B9F #9F3F2B #519F2B #2B8B9F
square
#792B9F #9F3F2B #519F2B #2B8B9F
split-complementary
#792B9F #8B9F2B #2B9F3F
monochromatic
#30113F #541E6F #792B9F #9C3DCA #B56DD7

Accessibility & contrast

On white

7.90
#792B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#792B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B9F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B9F#FFFFFF#000000##FFFFFF
##792B9F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#1D539C
Tritanopia (blue-blind)
#744562
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792b9f;
/* rgb */ color: rgb(121, 43, 159);
/* oklch */ color: oklch(45.9% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#a46cbc',
    500: '#792b9f',
    950: '#000000',
  },
}
SCSS
$custom: #792b9f;
$custom-light: #a46cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#792b9f",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 280.345,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.1826,
    "h": 312.1
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#792B9F
secondary
#84BE67
accent
#E14779
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792B9F

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

Preview Lab → · Contrast checker → · Palette generator →

#792B9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva