#792DC9#792DC9

#792DC9 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.222 H 300.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#792DC9
RGBrgb(121, 45, 201)
HSLhsl(269, 63%, 48%)
HSVhsv(269, 78%, 79%)
CMYKcmyk(39.8%, 77.6%, 0%, 21.2%)
CIE-LABlab(38.13, 60.91, -67.10)
CIE-LCHlch(38.13, 90.62, 312.23°)
OKLaboklab(49.43% 0.1118 -0.1918)
OKLCHoklch(49.43% 0.222 300.2)
XYZxyz(19.3635, 10.1586, 56.1877)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DC9 #7DC92D
analogous
#2D2FC9 #792DC9 #C72DC9
triadic
#792DC9 #C9792D #2DC979
tetradic
#792DC9 #C92D2F #7DC92D #2DC9C7
square
#792DC9 #C92D2F #7DC92D #2DC9C7
split-complementary
#792DC9 #C9C72D #2FC92D
monochromatic
#3D1765 #5B2297 #792DC9 #9859DA #B78BE5

Accessibility & contrast

On white

6.93
#792DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#792DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792DC9
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DC9#FFFFFF#000000##FFFFFF
##792DC91.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#66577B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792dc9;
/* rgb */ color: rgb(121, 45, 201);
/* oklch */ color: oklch(49.4% 0.222 300.2);
Tailwind
colors: {
  custom: {
    50: '#a76fdb',
    500: '#792dc9',
    950: '#000000',
  },
}
SCSS
$custom: #792dc9;
$custom-light: #a76fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#792dc9",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 269.231,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.22202,
    "h": 300.2
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#792DC9
secondary
#AACF83
accent
#E64196
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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