#792EB8#792EB8

#792EB8 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.204 H 304.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#792EB8
RGBrgb(121, 46, 184)
HSLhsl(273, 60%, 45%)
HSVhsv(273, 75%, 72%)
CMYKcmyk(34.2%, 75%, 0%, 27.8%)
CIE-LABlab(36.89, 56.53, -59.14)
CIE-LCHlch(36.89, 81.81, 313.71°)
OKLaboklab(48.14% 0.1151 -0.1684)
OKLCHoklch(48.14% 0.204 304.3)
XYZxyz(17.5119, 9.4797, 46.2453)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EB8 #6DB82E
analogous
#342EB8 #792EB8 #B82EB2
triadic
#792EB8 #B8792E #2EB879
tetradic
#792EB8 #B8342E #6DB82E #2EB2B8
square
#792EB8 #B8342E #6DB82E #2EB2B8
split-complementary
#792EB8 #B2B82E #2EB834
monochromatic
#391656 #592287 #792EB8 #9750D3 #B481DF

Accessibility & contrast

On white

7.25
#792EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#792EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EB8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EB8#FFFFFF#000000##FFFFFF
##792EB81.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#6D5071
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #792eb8;
/* rgb */ color: rgb(121, 46, 184);
/* oklch */ color: oklch(48.1% 0.204 304.3);
Tailwind
colors: {
  custom: {
    50: '#a56ece',
    500: '#792eb8',
    950: '#000000',
  },
}
SCSS
$custom: #792eb8;
$custom-light: #a56ece;
$custom-dark: #000000;
JSON
{
  "hex": "#792eb8",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 272.609,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.204,
    "h": 304.3
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#792EB8
secondary
#9DC879
accent
#E3458D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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