#792FC9#792FC9

#792FC9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.220 H 300.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#792FC9
RGBrgb(121, 47, 201)
HSLhsl(269, 62%, 49%)
HSVhsv(269, 77%, 79%)
CMYKcmyk(39.8%, 76.6%, 0%, 21.2%)
CIE-LABlab(38.40, 60.11, -66.65)
CIE-LCHlch(38.40, 89.75, 312.05°)
OKLaboklab(49.62% 0.1102 -0.1905)
OKLCHoklch(49.62% 0.22 300.1)
XYZxyz(19.4416, 10.3148, 56.2137)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FC9 #7FC92F
analogous
#2F32C9 #792FC9 #C62FC9
triadic
#792FC9 #C9792F #2FC979
tetradic
#792FC9 #C92F32 #7FC92F #2FC9C6
square
#792FC9 #C92F32 #7FC92F #2FC9C6
split-complementary
#792FC9 #C9C62F #32C92F
monochromatic
#3D1866 #5B2397 #792FC9 #985CD9 #B88EE5

Accessibility & contrast

On white

6.86
#792FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#792FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792FC9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FC9#FFFFFF#000000##FFFFFF
##792FC91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#66587B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792fc9;
/* rgb */ color: rgb(121, 47, 201);
/* oklch */ color: oklch(49.6% 0.220 300.1);
Tailwind
colors: {
  custom: {
    50: '#a770da',
    500: '#792fc9',
    950: '#000000',
  },
}
SCSS
$custom: #792fc9;
$custom-light: #a770da;
$custom-dark: #000000;
JSON
{
  "hex": "#792fc9",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 268.831,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.22007,
    "h": 300.1
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #792FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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