#792CA3#792CA3

#792CA3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.185 H 310.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#792CA3
RGBrgb(121, 44, 163)
HSLhsl(279, 57%, 41%)
HSVhsv(279, 73%, 64%)
CMYKcmyk(25.8%, 73%, 0%, 36.1%)
CIE-LABlab(35.03, 52.62, -49.65)
CIE-LCHlch(35.03, 72.34, 316.66°)
OKLaboklab(46.33% 0.1209 -0.1405)
OKLCHoklch(46.33% 0.185 310.7)
XYZxyz(15.3954, 8.5110, 35.4750)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CA3 #56A32C
analogous
#3E2CA3 #792CA3 #A32C91
triadic
#792CA3 #A3792C #2CA379
tetradic
#792CA3 #A33E2C #56A32C #2C91A3
square
#792CA3 #A33E2C #56A32C #2C91A3
split-complementary
#792CA3 #91A32C #2CA33E
monochromatic
#311243 #551F73 #792CA3 #9B41CC #B471D9

Accessibility & contrast

On white

7.77
#792CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#792CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CA3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CA3#FFFFFF#000000##FFFFFF
##792CA31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1754A0
Tritanopia (blue-blind)
#734765
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #792ca3;
/* rgb */ color: rgb(121, 44, 163);
/* oklch */ color: oklch(46.3% 0.185 310.7);
Tailwind
colors: {
  custom: {
    50: '#a46cbf',
    500: '#792ca3',
    950: '#000000',
  },
}
SCSS
$custom: #792ca3;
$custom-light: #a46cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#792ca3",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 278.824,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46325,
    "c": 0.18534,
    "h": 310.7
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#792CA3
secondary
#89C06B
accent
#E1477D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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