#792AB0#792AB0

#792AB0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.200 H 306.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#792AB0
RGBrgb(121, 42, 176)
HSLhsl(275, 61%, 43%)
HSVhsv(275, 76%, 69%)
CMYKcmyk(31.3%, 76.1%, 0%, 31%)
CIE-LABlab(35.70, 56.33, -56.33)
CIE-LCHlch(35.70, 79.66, 315.00°)
OKLaboklab(47.11% 0.1204 -0.1601)
OKLCHoklch(47.11% 0.2 306.9)
XYZxyz(16.5479, 8.8557, 41.9034)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AB0 #61B02A
analogous
#362AB0 #792AB0 #B02AA4
triadic
#792AB0 #B0792A #2AB079
tetradic
#792AB0 #B0362A #61B02A #2AA4B0
square
#792AB0 #B0362A #61B02A #2AA4B0
split-complementary
#792AB0 #A4B02A #2AB036
monochromatic
#35124D #571E7F #792AB0 #9845D3 #B476DE

Accessibility & contrast

On white

7.58
#792AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#792AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AB0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AB0#FFFFFF#000000##FFFFFF
##792AB01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#704B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #792ab0;
/* rgb */ color: rgb(121, 42, 176);
/* oklch */ color: oklch(47.1% 0.200 306.9);
Tailwind
colors: {
  custom: {
    50: '#a56cc8',
    500: '#792ab0',
    950: '#000000',
  },
}
SCSS
$custom: #792ab0;
$custom-light: #a56cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#792ab0",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 275.373,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.20036,
    "h": 306.9
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#792AB0
secondary
#93C670
accent
#E54385
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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