#792EAB#792EAB

#792EAB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.191 H 308.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#792EAB
RGBrgb(121, 46, 171)
HSLhsl(276, 58%, 43%)
HSVhsv(276, 73%, 67%)
CMYKcmyk(29.2%, 73.1%, 0%, 32.9%)
CIE-LABlab(35.91, 53.55, -53.02)
CIE-LCHlch(35.91, 75.36, 315.29°)
OKLaboklab(47.13% 0.1176 -0.1504)
OKLCHoklch(47.13% 0.191 308)
XYZxyz(16.2113, 8.9595, 39.3955)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EAB #60AB2E
analogous
#3A2EAB #792EAB #AB2E9F
triadic
#792EAB #AB792E #2EAB79
tetradic
#792EAB #AB3A2E #60AB2E #2E9FAB
square
#792EAB #AB3A2E #60AB2E #2E9FAB
split-complementary
#792EAB #9FAB2E #2EAB3A
monochromatic
#35144B #57217B #792EAB #9848CE #B479DB

Accessibility & contrast

On white

7.52
#792EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#792EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EAB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EAB#FFFFFF#000000##FFFFFF
##792EAB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#714B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #792eab;
/* rgb */ color: rgb(121, 46, 171);
/* oklch */ color: oklch(47.1% 0.191 308.0);
Tailwind
colors: {
  custom: {
    50: '#a46ec5',
    500: '#792eab',
    950: '#000000',
  },
}
SCSS
$custom: #792eab;
$custom-light: #a46ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#792eab",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 276,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.19094,
    "h": 308
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#792EAB
secondary
#92C372
accent
#E14785
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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