#792DB4#792DB4

#792DB4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.201 H 305.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#792DB4
RGBrgb(121, 45, 180)
HSLhsl(274, 60%, 44%)
HSVhsv(274, 75%, 71%)
CMYKcmyk(32.8%, 75%, 0%, 29.4%)
CIE-LABlab(36.44, 56.02, -57.52)
CIE-LCHlch(36.44, 80.29, 314.25°)
OKLaboklab(47.72% 0.1169 -0.1636)
OKLCHoklch(47.72% 0.201 305.5)
XYZxyz(17.0599, 9.2371, 44.0554)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DB4 #68B42D
analogous
#362DB4 #792DB4 #B42DAC
triadic
#792DB4 #B4792D #2DB479
tetradic
#792DB4 #B4362D #68B42D #2DACB4
square
#792DB4 #B4362D #68B42D #2DACB4
split-complementary
#792DB4 #ACB42D #2DB436
monochromatic
#371552 #582183 #792DB4 #984CD2 #B47DDE

Accessibility & contrast

On white

7.38
#792DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#792DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792DB4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DB4#FFFFFF#000000##FFFFFF
##792DB41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#6E4E6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792db4;
/* rgb */ color: rgb(121, 45, 180);
/* oklch */ color: oklch(47.7% 0.201 305.5);
Tailwind
colors: {
  custom: {
    50: '#a56ecb',
    500: '#792db4',
    950: '#000000',
  },
}
SCSS
$custom: #792db4;
$custom-light: #a56ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#792db4",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 273.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.20108,
    "h": 305.5
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#792DB4
secondary
#99C776
accent
#E3458A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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