#792BB6#792BB6

#792BB6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.205 H 305.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#792BB6
RGBrgb(121, 43, 182)
HSLhsl(274, 62%, 44%)
HSVhsv(274, 76%, 71%)
CMYKcmyk(33.5%, 76.4%, 0%, 28.6%)
CIE-LABlab(36.31, 57.29, -58.91)
CIE-LCHlch(36.31, 82.17, 314.20°)
OKLaboklab(47.68% 0.1182 -0.1677)
OKLCHoklch(47.68% 0.205 305.2)
XYZxyz(17.1906, 9.1702, 45.1113)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BB6 #68B62B
analogous
#342BB6 #792BB6 #B62BAE
triadic
#792BB6 #B6792B #2BB679
tetradic
#792BB6 #B6342B #68B62B #2BAEB6
square
#792BB6 #B6342B #68B62B #2BAEB6
split-complementary
#792BB6 #AEB62B #2BB634
monochromatic
#371453 #581F84 #792BB6 #984AD4 #B47BE0

Accessibility & contrast

On white

7.41
#792BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#792BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BB6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BB6#FFFFFF#000000##FFFFFF
##792BB61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#6E4E6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792bb6;
/* rgb */ color: rgb(121, 43, 182);
/* oklch */ color: oklch(47.7% 0.205 305.2);
Tailwind
colors: {
  custom: {
    50: '#a56dcd',
    500: '#792bb6',
    950: '#000000',
  },
}
SCSS
$custom: #792bb6;
$custom-light: #a56dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#792bb6",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 273.669,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.2052,
    "h": 305.2
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#792BB6
secondary
#99C875
accent
#E5438A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #792BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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