#792CB4#792CB4

#792CB4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.202 H 305.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#792CB4
RGBrgb(121, 44, 180)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 76%, 71%)
CMYKcmyk(32.8%, 75.6%, 0%, 29.4%)
CIE-LABlab(36.29, 56.43, -57.75)
CIE-LCHlch(36.29, 80.74, 314.34°)
OKLaboklab(47.62% 0.1178 -0.1643)
OKLCHoklch(47.62% 0.202 305.6)
XYZxyz(17.0222, 9.1617, 44.0428)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB4 #67B42C
analogous
#352CB4 #792CB4 #B42CAB
triadic
#792CB4 #B4792C #2CB479
tetradic
#792CB4 #B4352C #67B42C #2CABB4
square
#792CB4 #B4352C #67B42C #2CABB4
split-complementary
#792CB4 #ABB42C #2CB435
monochromatic
#371452 #582083 #792CB4 #984AD3 #B47CDF

Accessibility & contrast

On white

7.41
#792CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#792CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB4
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB4#FFFFFF#000000##FFFFFF
##792CB41.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#6E4E6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792cb4;
/* rgb */ color: rgb(121, 44, 180);
/* oklch */ color: oklch(47.6% 0.202 305.6);
Tailwind
colors: {
  custom: {
    50: '#a56dcb',
    500: '#792cb4',
    950: '#000000',
  },
}
SCSS
$custom: #792cb4;
$custom-light: #a56dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb4",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 273.971,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.20217,
    "h": 305.6
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#792CB4
secondary
#98C775
accent
#E44489
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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