#792BAE#792BAE

#792BAE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.1% C 0.197 H 307.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#792BAE
RGBrgb(121, 43, 174)
HSLhsl(276, 60%, 43%)
HSVhsv(276, 75%, 68%)
CMYKcmyk(30.5%, 75.3%, 0%, 31.8%)
CIE-LABlab(35.69, 55.48, -55.16)
CIE-LCHlch(35.69, 78.23, 315.16°)
OKLaboklab(47.05% 0.1199 -0.1567)
OKLCHoklch(47.05% 0.197 307.4)
XYZxyz(16.3874, 8.8489, 40.8809)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BAE #60AE2B
analogous
#372BAE #792BAE #AE2BA2
triadic
#792BAE #AE792B #2BAE79
tetradic
#792BAE #AE372B #60AE2B #2BA2AE
square
#792BAE #AE372B #60AE2B #2BA2AE
split-complementary
#792BAE #A2AE2B #2BAE37
monochromatic
#35134C #571F7D #792BAE #9845D1 #B476DD

Accessibility & contrast

On white

7.58
#792BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#792BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BAE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BAE#FFFFFF#000000##FFFFFF
##792BAE1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#704B6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #792bae;
/* rgb */ color: rgb(121, 43, 174);
/* oklch */ color: oklch(47.1% 0.197 307.4);
Tailwind
colors: {
  custom: {
    50: '#a56cc7',
    500: '#792bae',
    950: '#000000',
  },
}
SCSS
$custom: #792bae;
$custom-light: #a56cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#792bae",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 275.725,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.19733,
    "h": 307.4
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#792BAE
secondary
#92C570
accent
#E44485
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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