#792ABB#792ABB

#792ABB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.211 H 303.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#792ABB
RGBrgb(121, 42, 187)
HSLhsl(273, 63%, 45%)
HSVhsv(273, 78%, 73%)
CMYKcmyk(35.3%, 77.5%, 0%, 26.7%)
CIE-LABlab(36.57, 58.82, -61.44)
CIE-LCHlch(36.57, 85.05, 313.75°)
OKLaboklab(47.99% 0.1179 -0.1751)
OKLCHoklch(47.99% 0.211 303.9)
XYZxyz(17.6807, 9.3088, 47.8694)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792ABB #6CBB2A
analogous
#312ABB #792ABB #BB2AB4
triadic
#792ABB #BB792A #2ABB79
tetradic
#792ABB #BB312A #6CBB2A #2AB4BB
square
#792ABB #BB312A #6CBB2A #2AB4BB
split-complementary
#792ABB #B4BB2A #2ABB31
monochromatic
#381457 #591F89 #792ABB #974CD7 #B47DE2

Accessibility & contrast

On white

7.34
#792ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#792ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792ABB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792ABB#FFFFFF#000000##FFFFFF
##792ABB1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#6C5072
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792abb;
/* rgb */ color: rgb(121, 42, 187);
/* oklch */ color: oklch(48.0% 0.211 303.9);
Tailwind
colors: {
  custom: {
    50: '#a66dd0',
    500: '#792abb',
    950: '#000000',
  },
}
SCSS
$custom: #792abb;
$custom-light: #a66dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#792abb",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 272.69,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.21112,
    "h": 303.9
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#792ABB
secondary
#9DCA76
accent
#E6418D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #792ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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