#792DB0#792DB0

#792DB0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.197 H 306.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#792DB0
RGBrgb(121, 45, 176)
HSLhsl(275, 59%, 43%)
HSVhsv(275, 74%, 69%)
CMYKcmyk(31.3%, 74.4%, 0%, 31%)
CIE-LABlab(36.13, 55.11, -55.64)
CIE-LCHlch(36.13, 78.31, 314.73°)
OKLaboklab(47.41% 0.1177 -0.1581)
OKLCHoklch(47.41% 0.197 306.7)
XYZxyz(16.6583, 9.0765, 41.9402)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DB0 #64B02D
analogous
#372DB0 #792DB0 #B02DA5
triadic
#792DB0 #B0792D #2DB079
tetradic
#792DB0 #B0372D #64B02D #2DA5B0
square
#792DB0 #B0372D #64B02D #2DA5B0
split-complementary
#792DB0 #A5B02D #2DB037
monochromatic
#36144F #57217F #792DB0 #984AD1 #B47ADD

Accessibility & contrast

On white

7.46
#792DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#792DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792DB0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DB0#FFFFFF#000000##FFFFFF
##792DB01.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#6F4D6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792db0;
/* rgb */ color: rgb(121, 45, 176);
/* oklch */ color: oklch(47.4% 0.197 306.7);
Tailwind
colors: {
  custom: {
    50: '#a56ec8',
    500: '#792db0',
    950: '#000000',
  },
}
SCSS
$custom: #792db0;
$custom-light: #a56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#792db0",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 274.809,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.19709,
    "h": 306.7
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#792DB0
secondary
#96C573
accent
#E24587
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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