#792AC9#792AC9

#792AC9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.2% C 0.225 H 300.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#792AC9
RGBrgb(121, 42, 201)
HSLhsl(270, 65%, 48%)
HSVhsv(270, 79%, 79%)
CMYKcmyk(39.8%, 79.1%, 0%, 21.2%)
CIE-LABlab(37.73, 62.05, -67.75)
CIE-LCHlch(37.73, 91.87, 312.49°)
OKLaboklab(49.16% 0.1141 -0.1937)
OKLCHoklch(49.16% 0.225 300.5)
XYZxyz(19.2531, 9.9377, 56.1508)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AC9 #7AC92A
analogous
#2A2BC9 #792AC9 #C82AC9
triadic
#792AC9 #C9792A #2AC979
tetradic
#792AC9 #C92A2B #7AC92A #2AC9C8
square
#792AC9 #C92A2B #7AC92A #2AC9C8
split-complementary
#792AC9 #C9C82A #2BC92A
monochromatic
#3C1564 #5B1F96 #792AC9 #9855DB #B687E6

Accessibility & contrast

On white

7.03
#792AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#792AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AC9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AC9#FFFFFF#000000##FFFFFF
##792AC91.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#66567A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #792ac9;
/* rgb */ color: rgb(121, 42, 201);
/* oklch */ color: oklch(49.2% 0.225 300.5);
Tailwind
colors: {
  custom: {
    50: '#a76ddb',
    500: '#792ac9',
    950: '#000000',
  },
}
SCSS
$custom: #792ac9;
$custom-light: #a76ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#792ac9",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 269.811,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49156,
    "c": 0.2248,
    "h": 300.5
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#792AC9
secondary
#A8D07F
accent
#E83F94
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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