#792FE8#792FE8

#792FE8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.3% C 0.251 H 293.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#792FE8
RGBrgb(121, 47, 232)
HSLhsl(264, 80%, 55%)
HSVhsv(264, 80%, 91%)
CMYKcmyk(47.8%, 79.7%, 0%, 9%)
CIE-LABlab(41.09, 67.56, -80.05)
CIE-LCHlch(41.09, 104.75, 310.16°)
OKLaboklab(52.32% 0.1012 -0.2298)
OKLCHoklch(52.32% 0.251 293.8)
XYZxyz(23.4631, 11.9234, 77.3935)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FE8 #9EE82F
analogous
#2F42E8 #792FE8 #D62FE8
triadic
#792FE8 #E8792F #2FE879
tetradic
#792FE8 #E82F42 #9EE82F #2FE8D6
square
#792FE8 #E82F42 #9EE82F #2FE8D6
split-complementary
#792FE8 #E8D62F #42E82F
monochromatic
#42108D #5B16C4 #792FE8 #9D66EE #C09DF4

Accessibility & contrast

On white

6.20
#792FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#792FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792FE8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FE8#FFFFFF#000000##FFFFFF
##792FE81.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063ED
Deuteranopia (green-blind)
#005EE5
Tritanopia (blue-blind)
#56658D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #792fe8;
/* rgb */ color: rgb(121, 47, 232);
/* oklch */ color: oklch(52.3% 0.251 293.8);
Tailwind
colors: {
  custom: {
    50: '#aa71f1',
    500: '#792fe8',
    950: '#000000',
  },
}
SCSS
$custom: #792fe8;
$custom-light: #aa71f1;
$custom-dark: #000000;
JSON
{
  "hex": "#792fe8",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 232
  },
  "hsl": {
    "h": 264,
    "s": 80.087,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.25108,
    "h": 293.8
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#792FE8
secondary
#C1E092
accent
#F731A8
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110817
muted
#807B85

Preview Lab

Preview with #792FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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