#792FC8#792FC8

#792FC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.219 H 300.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#792FC8
RGBrgb(121, 47, 200)
HSLhsl(269, 62%, 48%)
HSVhsv(269, 77%, 78%)
CMYKcmyk(39.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(38.32, 59.87, -66.20)
CIE-LCHlch(38.32, 89.26, 312.13°)
OKLaboklab(49.54% 0.1105 -0.1892)
OKLCHoklch(49.54% 0.219 300.3)
XYZxyz(19.3244, 10.2679, 55.5962)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FC8 #7EC82F
analogous
#2F31C8 #792FC8 #C52FC8
triadic
#792FC8 #C8792F #2FC879
tetradic
#792FC8 #C82F31 #7EC82F #2FC8C5
square
#792FC8 #C82F31 #7EC82F #2FC8C5
split-complementary
#792FC8 #C8C52F #31C82F
monochromatic
#3D1865 #5B2396 #792FC8 #985CD9 #B78DE4

Accessibility & contrast

On white

6.88
#792FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#792FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792FC8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FC8#FFFFFF#000000##FFFFFF
##792FC81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#67587A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792fc8;
/* rgb */ color: rgb(121, 47, 200);
/* oklch */ color: oklch(49.5% 0.219 300.3);
Tailwind
colors: {
  custom: {
    50: '#a770da',
    500: '#792fc8',
    950: '#000000',
  },
}
SCSS
$custom: #792fc8;
$custom-light: #a770da;
$custom-dark: #000000;
JSON
{
  "hex": "#792fc8",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 269.02,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.21906,
    "h": 300.3
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#792FC8
secondary
#ABCF84
accent
#E54397
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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