#792FBB#792FBB

#792FBB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.206 H 303.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#792FBB
RGBrgb(121, 47, 187)
HSLhsl(272, 60%, 46%)
HSVhsv(272, 75%, 73%)
CMYKcmyk(35.3%, 74.9%, 0%, 26.7%)
CIE-LABlab(37.27, 56.81, -60.29)
CIE-LCHlch(37.27, 82.84, 313.30°)
OKLaboklab(48.48% 0.1136 -0.1718)
OKLCHoklch(48.48% 0.206 303.5)
XYZxyz(17.8692, 9.6858, 47.9322)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FBB #71BB2F
analogous
#332FBB #792FBB #BB2FB7
triadic
#792FBB #BB792F #2FBB79
tetradic
#792FBB #BB332F #71BB2F #2FB7BB
square
#792FBB #BB332F #71BB2F #2FB7BB
split-complementary
#792FBB #B7BB2F #2FBB33
monochromatic
#3A1659 #59238A #792FBB #9753D4 #B584E0

Accessibility & contrast

On white

7.15
#792FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#792FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FBB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FBB#FFFFFF#000000##FFFFFF
##792FBB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#6C5273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792fbb;
/* rgb */ color: rgb(121, 47, 187);
/* oklch */ color: oklch(48.5% 0.206 303.5);
Tailwind
colors: {
  custom: {
    50: '#a66fd0',
    500: '#792fbb',
    950: '#000000',
  },
}
SCSS
$custom: #792fbb;
$custom-light: #a66fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#792fbb",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 271.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.20595,
    "h": 303.5
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#792FBB
secondary
#A1C97C
accent
#E3458F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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