#792FB0#792FB0

#792FB0 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.195 H 306.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#792FB0
RGBrgb(121, 47, 176)
HSLhsl(274, 58%, 44%)
HSVhsv(274, 73%, 69%)
CMYKcmyk(31.3%, 73.3%, 0%, 31%)
CIE-LABlab(36.43, 54.26, -55.16)
CIE-LCHlch(36.43, 77.37, 314.53°)
OKLaboklab(47.62% 0.1157 -0.1567)
OKLCHoklch(47.62% 0.195 306.4)
XYZxyz(16.7364, 9.2327, 41.9663)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FB0 #66B02F
analogous
#382FB0 #792FB0 #B02FA6
triadic
#792FB0 #B0792F #2FB079
tetradic
#792FB0 #B0382F #66B02F #2FA6B0
square
#792FB0 #B0382F #66B02F #2FA6B0
split-complementary
#792FB0 #A6B02F #2FB038
monochromatic
#37154F #582280 #792FB0 #984DCF #B47DDC

Accessibility & contrast

On white

7.38
#792FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#792FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FB0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FB0#FFFFFF#000000##FFFFFF
##792FB01.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#6F4E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792fb0;
/* rgb */ color: rgb(121, 47, 176);
/* oklch */ color: oklch(47.6% 0.195 306.4);
Tailwind
colors: {
  custom: {
    50: '#a56fc8',
    500: '#792fb0',
    950: '#000000',
  },
}
SCSS
$custom: #792fb0;
$custom-light: #a56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#792fb0",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 274.419,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.19482,
    "h": 306.4
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#792FB0
secondary
#98C576
accent
#E14789
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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