#792AAF#792AAF

#792AAF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.199 H 307.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#792AAF
RGBrgb(121, 42, 175)
HSLhsl(276, 61%, 43%)
HSVhsv(276, 76%, 69%)
CMYKcmyk(30.9%, 76%, 0%, 31.4%)
CIE-LABlab(35.63, 56.10, -55.86)
CIE-LCHlch(35.63, 79.17, 315.12°)
OKLaboklab(47.03% 0.1206 -0.1587)
OKLCHoklch(47.03% 0.199 307.2)
XYZxyz(16.4493, 8.8162, 41.3843)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AAF #60AF2A
analogous
#372AAF #792AAF #AF2AA2
triadic
#792AAF #AF792A #2AAF79
tetradic
#792AAF #AF372A #60AF2A #2AA2AF
square
#792AAF #AF372A #60AF2A #2AA2AF
split-complementary
#792AAF #A2AF2A #2AAF37
monochromatic
#35124C #571E7E #792AAF #9844D2 #B475DE

Accessibility & contrast

On white

7.60
#792AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#792AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AAF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AAF#FFFFFF#000000##FFFFFF
##792AAF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#704B6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #792aaf;
/* rgb */ color: rgb(121, 42, 175);
/* oklch */ color: oklch(47.0% 0.199 307.2);
Tailwind
colors: {
  custom: {
    50: '#a56cc8',
    500: '#792aaf',
    950: '#000000',
  },
}
SCSS
$custom: #792aaf;
$custom-light: #a56cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#792aaf",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 275.639,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47031,
    "c": 0.19939,
    "h": 307.2
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#792AAF
secondary
#92C66F
accent
#E44385
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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