#792EAC#792EAC

#792EAC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.192 H 307.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#792EAC
RGBrgb(121, 46, 172)
HSLhsl(276, 58%, 43%)
HSVhsv(276, 73%, 67%)
CMYKcmyk(29.7%, 73.3%, 0%, 32.5%)
CIE-LABlab(35.98, 53.78, -53.50)
CIE-LCHlch(35.98, 75.86, 315.15°)
OKLaboklab(47.21% 0.1174 -0.1518)
OKLCHoklch(47.21% 0.192 307.7)
XYZxyz(16.3070, 8.9977, 39.8994)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EAC #61AC2E
analogous
#3A2EAC #792EAC #AC2EA0
triadic
#792EAC #AC792E #2EAC79
tetradic
#792EAC #AC3A2E #61AC2E #2EA0AC
square
#792EAC #AC3A2E #61AC2E #2EA0AC
split-complementary
#792EAC #A0AC2E #2EAC3A
monochromatic
#35144B #57217C #792EAC #9849CE #B479DB

Accessibility & contrast

On white

7.50
#792EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#792EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EAC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EAC#FFFFFF#000000##FFFFFF
##792EAC1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#714C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792eac;
/* rgb */ color: rgb(121, 46, 172);
/* oklch */ color: oklch(47.2% 0.192 307.7);
Tailwind
colors: {
  custom: {
    50: '#a46ec6',
    500: '#792eac',
    950: '#000000',
  },
}
SCSS
$custom: #792eac;
$custom-light: #a46ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#792eac",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 275.714,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.19194,
    "h": 307.7
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #792EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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