#792BB4#792BB4

#792BB4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.203 H 305.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#792BB4
RGBrgb(121, 43, 180)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 76%, 71%)
CMYKcmyk(32.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(36.15, 56.83, -57.98)
CIE-LCHlch(36.15, 81.19, 314.43°)
OKLaboklab(47.52% 0.1187 -0.165)
OKLCHoklch(47.52% 0.203 305.7)
XYZxyz(16.9854, 9.0881, 44.0305)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BB4 #66B42B
analogous
#352BB4 #792BB4 #B42BAA
triadic
#792BB4 #B4792B #2BB479
tetradic
#792BB4 #B4352B #66B42B #2BAAB4
square
#792BB4 #B4352B #66B42B #2BAAB4
split-complementary
#792BB4 #AAB42B #2BB435
monochromatic
#371351 #581F83 #792BB4 #9849D3 #B47ADF

Accessibility & contrast

On white

7.45
#792BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#792BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BB4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BB4#FFFFFF#000000##FFFFFF
##792BB41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#6E4D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792bb4;
/* rgb */ color: rgb(121, 43, 180);
/* oklch */ color: oklch(47.5% 0.203 305.7);
Tailwind
colors: {
  custom: {
    50: '#a56dcb',
    500: '#792bb4',
    950: '#000000',
  },
}
SCSS
$custom: #792bb4;
$custom-light: #a56dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#792bb4",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 274.161,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.20323,
    "h": 305.7
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#792BB4
secondary
#98C773
accent
#E54389
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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