#792FAA#792FAA

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

Color values

HEX#792FAA
RGBrgb(121, 47, 170)
HSLhsl(276, 57%, 43%)
HSVhsv(276, 72%, 67%)
CMYKcmyk(28.8%, 72.4%, 0%, 33.3%)
CIE-LABlab(35.99, 52.90, -52.30)
CIE-LCHlch(35.99, 74.38, 315.33°)
OKLaboklab(47.17% 0.1168 -0.1483)
OKLCHoklch(47.17% 0.189 308.2)
XYZxyz(16.1559, 9.0005, 38.9086)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FAA #60AA2F
analogous
#3C2FAA #792FAA #AA2F9D
triadic
#792FAA #AA792F #2FAA79
tetradic
#792FAA #AA3C2F #60AA2F #2F9DAA
square
#792FAA #AA3C2F #60AA2F #2F9DAA
split-complementary
#792FAA #9DAA2F #2FAA3C
monochromatic
#35144A #57227A #792FAA #9849CD #B479DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792FAA#FFFFFF#000000##FFFFFF
##792FAA1.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)
#0052AE
Deuteranopia (green-blind)
#0A55A7
Tritanopia (blue-blind)
#714B6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792faa;
/* rgb */ color: rgb(121, 47, 170);
/* oklch */ color: oklch(47.2% 0.189 308.2);
Tailwind
colors: {
  custom: {
    50: '#a46ec4',
    500: '#792faa',
    950: '#000000',
  },
}
SCSS
$custom: #792faa;
$custom-light: #a46ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#792faa",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 276.098,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.18875,
    "h": 308.2
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#792FAA
secondary
#92C272
accent
#E04884
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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