#792BBA#792BBA

#792BBA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.209 H 304.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#792BBA
RGBrgb(121, 43, 186)
HSLhsl(273, 62%, 45%)
HSVhsv(273, 77%, 73%)
CMYKcmyk(34.9%, 76.9%, 0%, 27.1%)
CIE-LABlab(36.63, 58.20, -60.76)
CIE-LCHlch(36.63, 84.14, 313.77°)
OKLaboklab(48% 0.1173 -0.1731)
OKLCHoklch(48% 0.209 304.1)
XYZxyz(17.6099, 9.3379, 47.3195)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BBA #6CBA2B
analogous
#312BBA #792BBA #BA2BB4
triadic
#792BBA #BA792B #2BBA79
tetradic
#792BBA #BA312B #6CBA2B #2BB4BA
square
#792BBA #BA312B #6CBA2B #2BB4BA
split-complementary
#792BBA #B4BA2B #2BBA31
monochromatic
#381457 #592088 #792BBA #974CD6 #B47EE1

Accessibility & contrast

On white

7.32
#792BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#792BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BBA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BBA#FFFFFF#000000##FFFFFF
##792BBA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#6C5072
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792bba;
/* rgb */ color: rgb(121, 43, 186);
/* oklch */ color: oklch(48.0% 0.209 304.1);
Tailwind
colors: {
  custom: {
    50: '#a66dd0',
    500: '#792bba',
    950: '#000000',
  },
}
SCSS
$custom: #792bba;
$custom-light: #a66dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#792bba",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 272.727,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.20914,
    "h": 304.1
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#792BBA
secondary
#9DCA77
accent
#E6428C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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