#792BCA#792BCA

#792BCA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.225 H 300.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#792BCA
RGBrgb(121, 43, 202)
HSLhsl(269, 65%, 48%)
HSVhsv(269, 79%, 79%)
CMYKcmyk(40.1%, 78.7%, 0%, 20.8%)
CIE-LABlab(37.94, 61.91, -67.98)
CIE-LCHlch(37.94, 91.94, 312.32°)
OKLaboklab(49.33% 0.1131 -0.1944)
OKLCHoklch(49.33% 0.225 300.2)
XYZxyz(19.4070, 10.0568, 56.7844)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BCA #7CCA2B
analogous
#2B2CCA #792BCA #C82BCA
triadic
#792BCA #CA792B #2BCA79
tetradic
#792BCA #CA2B2C #7CCA2B #2BCAC8
square
#792BCA #CA2B2C #7CCA2B #2BCAC8
split-complementary
#792BCA #CAC82B #2CCA2B
monochromatic
#3D1665 #5B2098 #792BCA #9857DB #B789E6

Accessibility & contrast

On white

6.97
#792BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#792BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792BCA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BCA#FFFFFF#000000##FFFFFF
##792BCA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#66577B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #792bca;
/* rgb */ color: rgb(121, 43, 202);
/* oklch */ color: oklch(49.3% 0.225 300.2);
Tailwind
colors: {
  custom: {
    50: '#a76edb',
    500: '#792bca',
    950: '#000000',
  },
}
SCSS
$custom: #792bca;
$custom-light: #a76edb;
$custom-dark: #000000;
JSON
{
  "hex": "#792bca",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 269.434,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.22487,
    "h": 300.2
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#792BCA
secondary
#A9D081
accent
#E84095
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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