#792BB3#792BB3

#792BB3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.202 H 306.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#792BB3
RGBrgb(121, 43, 179)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 76%, 70%)
CMYKcmyk(32.4%, 76%, 0%, 29.8%)
CIE-LABlab(36.08, 56.61, -57.51)
CIE-LCHlch(36.08, 80.70, 314.55°)
OKLaboklab(47.44% 0.1189 -0.1636)
OKLCHoklch(47.44% 0.202 306)
XYZxyz(16.8839, 9.0475, 43.4960)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BB3 #65B32B
analogous
#352BB3 #792BB3 #B32BA9
triadic
#792BB3 #B3792B #2BB379
tetradic
#792BB3 #B3352B #65B32B #2BA9B3
square
#792BB3 #B3352B #65B32B #2BA9B3
split-complementary
#792BB3 #A9B32B #2BB335
monochromatic
#361350 #581F82 #792BB3 #9848D3 #B479DF

Accessibility & contrast

On white

7.47
#792BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#792BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BB3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BB3#FFFFFF#000000##FFFFFF
##792BB31.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6F4D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792bb3;
/* rgb */ color: rgb(121, 43, 179);
/* oklch */ color: oklch(47.4% 0.202 306.0);
Tailwind
colors: {
  custom: {
    50: '#a56dcb',
    500: '#792bb3',
    950: '#000000',
  },
}
SCSS
$custom: #792bb3;
$custom-light: #a56dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#792bb3",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 274.412,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47443,
    "c": 0.20225,
    "h": 306
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#792BB3
secondary
#97C773
accent
#E44388
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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