#792DC0#792DC0

#792DC0 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.213 H 302.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#792DC0
RGBrgb(121, 45, 192)
HSLhsl(271, 62%, 46%)
HSVhsv(271, 77%, 75%)
CMYKcmyk(37%, 76.6%, 0%, 24.7%)
CIE-LABlab(37.39, 58.80, -63.05)
CIE-LCHlch(37.39, 86.21, 313.00°)
OKLaboklab(48.68% 0.1141 -0.1799)
OKLCHoklch(48.68% 0.213 302.4)
XYZxyz(18.3357, 9.7474, 50.7744)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DC0 #74C02D
analogous
#2F2DC0 #792DC0 #C02DBE
triadic
#792DC0 #C0792D #2DC079
tetradic
#792DC0 #C02F2D #74C02D #2DBEC0
square
#792DC0 #C02F2D #74C02D #2DBEC0
split-complementary
#792DC0 #BEC02D #2DC02F
monochromatic
#3B165D #5A218E #792DC0 #9753D7 #B585E2

Accessibility & contrast

On white

7.12
#792DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#792DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792DC0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DC0#FFFFFF#000000##FFFFFF
##792DC01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#6A5375
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792dc0;
/* rgb */ color: rgb(121, 45, 192);
/* oklch */ color: oklch(48.7% 0.213 302.4);
Tailwind
colors: {
  custom: {
    50: '#a66ed4',
    500: '#792dc0',
    950: '#000000',
  },
}
SCSS
$custom: #792dc0;
$custom-light: #a66ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#792dc0",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 271.02,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48684,
    "c": 0.21305,
    "h": 302.4
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#792DC0
secondary
#A3CC7D
accent
#E54391
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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