#792ABF#792ABF

#792ABF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.215 H 302.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#792ABF
RGBrgb(121, 42, 191)
HSLhsl(272, 64%, 46%)
HSVhsv(272, 78%, 75%)
CMYKcmyk(36.6%, 78%, 0%, 25.1%)
CIE-LABlab(36.90, 59.74, -63.26)
CIE-LCHlch(36.90, 87.01, 313.36°)
OKLaboklab(48.32% 0.1169 -0.1805)
OKLCHoklch(48.32% 0.215 302.9)
XYZxyz(18.1149, 9.4824, 50.1561)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792ABF #70BF2A
analogous
#2F2ABF #792ABF #BF2ABA
triadic
#792ABF #BF792A #2ABF79
tetradic
#792ABF #BF2F2A #70BF2A #2ABABF
square
#792ABF #BF2F2A #70BF2A #2ABABF
split-complementary
#792ABF #BABF2A #2ABF2F
monochromatic
#39145B #591F8D #792ABF #974ED8 #B580E3

Accessibility & contrast

On white

7.25
#792ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#792ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792ABF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792ABF#FFFFFF#000000##FFFFFF
##792ABF1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#6A5274
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #792abf;
/* rgb */ color: rgb(121, 42, 191);
/* oklch */ color: oklch(48.3% 0.215 302.9);
Tailwind
colors: {
  custom: {
    50: '#a66dd3',
    500: '#792abf',
    950: '#000000',
  },
}
SCSS
$custom: #792abf;
$custom-light: #a66dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#792abf",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 271.812,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.21502,
    "h": 302.9
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#792ABF
secondary
#A0CC79
accent
#E7418F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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