#792EAF#792EAF

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

Color values

HEX#792EAF
RGBrgb(121, 46, 175)
HSLhsl(275, 58%, 43%)
HSVhsv(275, 74%, 69%)
CMYKcmyk(30.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(36.20, 54.46, -54.93)
CIE-LCHlch(36.20, 77.35, 314.76°)
OKLaboklab(47.44% 0.1169 -0.156)
OKLCHoklch(47.44% 0.195 306.8)
XYZxyz(16.5983, 9.1143, 41.4339)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EAF #64AF2E
analogous
#392EAF #792EAF #AF2EA4
triadic
#792EAF #AF792E #2EAF79
tetradic
#792EAF #AF392E #64AF2E #2EA4AF
square
#792EAF #AF392E #64AF2E #2EA4AF
split-complementary
#792EAF #A4AF2E #2EAF39
monochromatic
#36154E #57217F #792EAF #984BD0 #B47BDC

Accessibility & contrast

On white

7.44
#792EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792EAF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EAF#FFFFFF#000000##FFFFFF
##792EAF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#704D6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792eaf;
/* rgb */ color: rgb(121, 46, 175);
/* oklch */ color: oklch(47.4% 0.195 306.8);
Tailwind
colors: {
  custom: {
    50: '#a56ec8',
    500: '#792eaf',
    950: '#000000',
  },
}
SCSS
$custom: #792eaf;
$custom-light: #a56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#792eaf",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 274.884,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.19496,
    "h": 306.8
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#792EAF
secondary
#96C574
accent
#E24687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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