#792FBD#792FBD

#792FBD is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.208 H 302.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#792FBD
RGBrgb(121, 47, 189)
HSLhsl(271, 60%, 46%)
HSVhsv(271, 75%, 74%)
CMYKcmyk(36%, 75.1%, 0%, 25.9%)
CIE-LABlab(37.43, 57.28, -61.21)
CIE-LCHlch(37.43, 83.83, 313.10°)
OKLaboklab(48.64% 0.1131 -0.1745)
OKLCHoklch(48.64% 0.208 302.9)
XYZxyz(18.0848, 9.7721, 49.0677)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FBD #73BD2F
analogous
#322FBD #792FBD #BD2FBA
triadic
#792FBD #BD792F #2FBD79
tetradic
#792FBD #BD322F #73BD2F #2FBABD
square
#792FBD #BD322F #73BD2F #2FBABD
split-complementary
#792FBD #BABD2F #2FBD32
monochromatic
#3A175B #5A238C #792FBD #9755D5 #B586E1

Accessibility & contrast

On white

7.11
#792FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#792FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FBD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FBD#FFFFFF#000000##FFFFFF
##792FBD1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#6B5374
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792fbd;
/* rgb */ color: rgb(121, 47, 189);
/* oklch */ color: oklch(48.6% 0.208 302.9);
Tailwind
colors: {
  custom: {
    50: '#a66fd2',
    500: '#792fbd',
    950: '#000000',
  },
}
SCSS
$custom: #792fbd;
$custom-light: #a66fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#792fbd",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 271.268,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.20796,
    "h": 302.9
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#792FBD
secondary
#A2CA7E
accent
#E34491
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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