#792FCA#792FCA

#792FCA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.221 H 299.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#792FCA
RGBrgb(121, 47, 202)
HSLhsl(269, 62%, 49%)
HSVhsv(269, 77%, 79%)
CMYKcmyk(40.1%, 76.7%, 0%, 20.8%)
CIE-LABlab(38.48, 60.35, -67.09)
CIE-LCHlch(38.48, 90.24, 311.97°)
OKLaboklab(49.71% 0.11 -0.1918)
OKLCHoklch(49.71% 0.221 299.8)
XYZxyz(19.5597, 10.3620, 56.8352)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FCA #80CA2F
analogous
#2F33CA #792FCA #C72FCA
triadic
#792FCA #CA792F #2FCA79
tetradic
#792FCA #CA2F33 #80CA2F #2FCAC7
square
#792FCA #CA2F33 #80CA2F #2FCAC7
split-complementary
#792FCA #CAC72F #33CA2F
monochromatic
#3E1867 #5B2398 #792FCA #985DD9 #B88FE5

Accessibility & contrast

On white

6.84
#792FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#792FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792FCA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FCA#FFFFFF#000000##FFFFFF
##792FCA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#66587C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #792fca;
/* rgb */ color: rgb(121, 47, 202);
/* oklch */ color: oklch(49.7% 0.221 299.8);
Tailwind
colors: {
  custom: {
    50: '#a770db',
    500: '#792fca',
    950: '#000000',
  },
}
SCSS
$custom: #792fca;
$custom-light: #a770db;
$custom-dark: #000000;
JSON
{
  "hex": "#792fca",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 268.645,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.22108,
    "h": 299.8
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#792FCA
secondary
#ACCF86
accent
#E54298
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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