#792CBF#792CBF

#792CBF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.213 H 302.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#792CBF
RGBrgb(121, 44, 191)
HSLhsl(271, 63%, 46%)
HSVhsv(271, 77%, 75%)
CMYKcmyk(36.6%, 77%, 0%, 25.1%)
CIE-LABlab(37.17, 58.96, -62.82)
CIE-LCHlch(37.17, 86.16, 313.19°)
OKLaboklab(48.51% 0.1152 -0.1792)
OKLCHoklch(48.51% 0.213 302.7)
XYZxyz(18.1876, 9.6279, 50.1803)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CBF #72BF2C
analogous
#302CBF #792CBF #BF2CBB
triadic
#792CBF #BF792C #2CBF79
tetradic
#792CBF #BF302C #72BF2C #2CBBBF
square
#792CBF #BF302C #72BF2C #2CBBBF
split-complementary
#792CBF #BBBF2C #2CBF30
monochromatic
#3A155C #59218D #792CBF #9751D7 #B583E2

Accessibility & contrast

On white

7.18
#792CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#792CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CBF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CBF#FFFFFF#000000##FFFFFF
##792CBF1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792cbf;
/* rgb */ color: rgb(121, 44, 191);
/* oklch */ color: oklch(48.5% 0.213 302.7);
Tailwind
colors: {
  custom: {
    50: '#a66ed3',
    500: '#792cbf',
    950: '#000000',
  },
}
SCSS
$custom: #792cbf;
$custom-light: #a66ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#792cbf",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 271.429,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.21307,
    "h": 302.7
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#792CBF
secondary
#A1CC7B
accent
#E64290
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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