#792FAF#792FAF

#792FAF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.194 H 306.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#792FAF
RGBrgb(121, 47, 175)
HSLhsl(275, 58%, 44%)
HSVhsv(275, 73%, 69%)
CMYKcmyk(30.9%, 73.1%, 0%, 31.4%)
CIE-LABlab(36.35, 54.04, -54.68)
CIE-LCHlch(36.35, 76.88, 314.66°)
OKLaboklab(47.54% 0.1159 -0.1553)
OKLCHoklch(47.54% 0.194 306.7)
XYZxyz(16.6379, 9.1933, 41.4471)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FAF #65AF2F
analogous
#392FAF #792FAF #AF2FA5
triadic
#792FAF #AF792F #2FAF79
tetradic
#792FAF #AF392F #65AF2F #2FA5AF
square
#792FAF #AF392F #65AF2F #2FA5AF
split-complementary
#792FAF #A5AF2F #2FAF39
monochromatic
#36154F #58227F #792FAF #984CCF #B47CDC

Accessibility & contrast

On white

7.40
#792FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#792FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FAF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FAF#FFFFFF#000000##FFFFFF
##792FAF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.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: #792faf;
/* rgb */ color: rgb(121, 47, 175);
/* oklch */ color: oklch(47.5% 0.194 306.7);
Tailwind
colors: {
  custom: {
    50: '#a56fc8',
    500: '#792faf',
    950: '#000000',
  },
}
SCSS
$custom: #792faf;
$custom-light: #a56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#792faf",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 274.688,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.19381,
    "h": 306.7
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#792FAF
secondary
#97C475
accent
#E14788
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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