#792FB9#792FB9

#792FB9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.204 H 304.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#792FB9
RGBrgb(121, 47, 185)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 75%, 73%)
CMYKcmyk(34.6%, 74.6%, 0%, 27.5%)
CIE-LABlab(37.12, 56.34, -59.37)
CIE-LCHlch(37.12, 81.85, 313.50°)
OKLaboklab(48.32% 0.114 -0.1691)
OKLCHoklch(48.32% 0.204 304)
XYZxyz(17.6566, 9.6008, 46.8125)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FB9 #6FB92F
analogous
#342FB9 #792FB9 #B92FB4
triadic
#792FB9 #B9792F #2FB979
tetradic
#792FB9 #B9342F #6FB92F #2FB4B9
square
#792FB9 #B9342F #6FB92F #2FB4B9
split-complementary
#792FB9 #B4B92F #2FB934
monochromatic
#391657 #592388 #792FB9 #9752D3 #B583DF

Accessibility & contrast

On white

7.19
#792FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#792FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FB9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FB9#FFFFFF#000000##FFFFFF
##792FB91.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#6C5172
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #792fb9;
/* rgb */ color: rgb(121, 47, 185);
/* oklch */ color: oklch(48.3% 0.204 304.0);
Tailwind
colors: {
  custom: {
    50: '#a56fcf',
    500: '#792fb9',
    950: '#000000',
  },
}
SCSS
$custom: #792fb9;
$custom-light: #a56fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#792fb9",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 272.174,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48322,
    "c": 0.20393,
    "h": 304
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#792FB9
secondary
#9FC97B
accent
#E3458E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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