#792DAF#792DAF

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

Color values

HEX#792DAF
RGBrgb(121, 45, 175)
HSLhsl(275, 59%, 43%)
HSVhsv(275, 74%, 69%)
CMYKcmyk(30.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(36.06, 54.88, -55.17)
CIE-LCHlch(36.06, 77.82, 314.85°)
OKLaboklab(47.33% 0.1179 -0.1567)
OKLCHoklch(47.33% 0.196 306.9)
XYZxyz(16.5597, 9.0371, 41.4211)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DAF #63AF2D
analogous
#382DAF #792DAF #AF2DA4
triadic
#792DAF #AF792D #2DAF79
tetradic
#792DAF #AF382D #63AF2D #2DA4AF
square
#792DAF #AF382D #63AF2D #2DA4AF
split-complementary
#792DAF #A4AF2D #2DAF38
monochromatic
#36144E #57207E #792DAF #9849D0 #B47ADD

Accessibility & contrast

On white

7.48
#792DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#792DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792DAF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DAF#FFFFFF#000000##FFFFFF
##792DAF1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792daf;
/* rgb */ color: rgb(121, 45, 175);
/* oklch */ color: oklch(47.3% 0.196 306.9);
Tailwind
colors: {
  custom: {
    50: '#a56dc8',
    500: '#792daf',
    950: '#000000',
  },
}
SCSS
$custom: #792daf;
$custom-light: #a56dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#792daf",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 275.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.1961,
    "h": 306.9
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#792DAF
secondary
#95C573
accent
#E24687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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