#792CB0#792CB0

#792CB0 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.198 H 306.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#792CB0
RGBrgb(121, 44, 176)
HSLhsl(275, 60%, 43%)
HSVhsv(275, 75%, 69%)
CMYKcmyk(31.3%, 75%, 0%, 31%)
CIE-LABlab(35.99, 55.52, -55.87)
CIE-LCHlch(35.99, 78.77, 314.82°)
OKLaboklab(47.31% 0.1186 -0.1588)
OKLCHoklch(47.31% 0.198 306.8)
XYZxyz(16.6206, 9.0011, 41.9277)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB0 #63B02C
analogous
#372CB0 #792CB0 #B02CA5
triadic
#792CB0 #B0792C #2CB079
tetradic
#792CB0 #B0372C #63B02C #2CA5B0
square
#792CB0 #B0372C #63B02C #2CA5B0
split-complementary
#792CB0 #A5B02C #2CB037
monochromatic
#36144E #57207F #792CB0 #9848D1 #B479DD

Accessibility & contrast

On white

7.50
#792CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#792CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB0#FFFFFF#000000##FFFFFF
##792CB01.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#704C6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792cb0;
/* rgb */ color: rgb(121, 44, 176);
/* oklch */ color: oklch(47.3% 0.198 306.8);
Tailwind
colors: {
  custom: {
    50: '#a56dc8',
    500: '#792cb0',
    950: '#000000',
  },
}
SCSS
$custom: #792cb0;
$custom-light: #a56dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb0",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 275,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.1982,
    "h": 306.8
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#792CB0
secondary
#95C672
accent
#E34587
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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