#792BA9#792BA9

#792BA9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.192 H 308.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#792BA9
RGBrgb(121, 43, 169)
HSLhsl(277, 59%, 42%)
HSVhsv(277, 75%, 66%)
CMYKcmyk(28.4%, 74.6%, 0%, 33.7%)
CIE-LABlab(35.32, 54.36, -52.78)
CIE-LCHlch(35.32, 75.77, 315.85°)
OKLaboklab(46.67% 0.1209 -0.1497)
OKLCHoklch(46.67% 0.192 308.9)
XYZxyz(15.9090, 8.6576, 38.3614)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BA9 #5BA92B
analogous
#3A2BA9 #792BA9 #A92B9A
triadic
#792BA9 #A9792B #2BA979
tetradic
#792BA9 #A93A2B #5BA92B #2B9AA9
square
#792BA9 #A93A2B #5BA92B #2B9AA9
split-complementary
#792BA9 #9AA92B #2BA93A
monochromatic
#331247 #561F78 #792BA9 #9942CF #B473DB

Accessibility & contrast

On white

7.69
#792BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#792BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BA9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BA9#FFFFFF#000000##FFFFFF
##792BA91.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0254A6
Tritanopia (blue-blind)
#724968
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792ba9;
/* rgb */ color: rgb(121, 43, 169);
/* oklch */ color: oklch(46.7% 0.192 308.9);
Tailwind
colors: {
  custom: {
    50: '#a46cc3',
    500: '#792ba9',
    950: '#000000',
  },
}
SCSS
$custom: #792ba9;
$custom-light: #a46cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#792ba9",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 277.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.1924,
    "h": 308.9
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#792BA9
secondary
#8EC36D
accent
#E34581
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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