#792DC8#792DC8

#792DC8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.221 H 300.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#792DC8
RGBrgb(121, 45, 200)
HSLhsl(269, 63%, 48%)
HSVhsv(269, 78%, 78%)
CMYKcmyk(39.5%, 77.5%, 0%, 21.6%)
CIE-LABlab(38.04, 60.67, -66.65)
CIE-LCHlch(38.04, 90.13, 312.31°)
OKLaboklab(49.35% 0.1121 -0.1905)
OKLCHoklch(49.35% 0.221 300.5)
XYZxyz(19.2463, 10.1117, 55.5701)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DC8 #7CC82D
analogous
#2D2FC8 #792DC8 #C62DC8
triadic
#792DC8 #C8792D #2DC879
tetradic
#792DC8 #C82D2F #7CC82D #2DC8C6
square
#792DC8 #C82D2F #7CC82D #2DC8C6
split-complementary
#792DC8 #C8C62D #2FC82D
monochromatic
#3D1764 #5B2296 #792DC8 #9859DA #B78BE5

Accessibility & contrast

On white

6.95
#792DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#792DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792DC8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DC8#FFFFFF#000000##FFFFFF
##792DC81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#67577A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792dc8;
/* rgb */ color: rgb(121, 45, 200);
/* oklch */ color: oklch(49.3% 0.221 300.5);
Tailwind
colors: {
  custom: {
    50: '#a76fda',
    500: '#792dc8',
    950: '#000000',
  },
}
SCSS
$custom: #792dc8;
$custom-light: #a76fda;
$custom-dark: #000000;
JSON
{
  "hex": "#792dc8",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 269.419,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.22102,
    "h": 300.5
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#792DC8
secondary
#A9CF82
accent
#E64195
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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