#792DBF#792DBF

#792DBF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.212 H 302.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#792DBF
RGBrgb(121, 45, 191)
HSLhsl(271, 62%, 46%)
HSVhsv(271, 76%, 75%)
CMYKcmyk(36.6%, 76.4%, 0%, 25.1%)
CIE-LABlab(37.30, 58.56, -62.59)
CIE-LCHlch(37.30, 85.72, 313.09°)
OKLaboklab(48.6% 0.1144 -0.1786)
OKLCHoklch(48.6% 0.212 302.6)
XYZxyz(18.2253, 9.7033, 50.1929)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DBF #73BF2D
analogous
#302DBF #792DBF #BF2DBC
triadic
#792DBF #BF792D #2DBF79
tetradic
#792DBF #BF302D #73BF2D #2DBCBF
square
#792DBF #BF302D #73BF2D #2DBCBF
split-complementary
#792DBF #BCBF2D #2DBF30
monochromatic
#3A165C #5A218D #792DBF #9753D6 #B584E2

Accessibility & contrast

On white

7.14
#792DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#792DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792DBF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DBF#FFFFFF#000000##FFFFFF
##792DBF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#6A5375
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792dbf;
/* rgb */ color: rgb(121, 45, 191);
/* oklch */ color: oklch(48.6% 0.212 302.6);
Tailwind
colors: {
  custom: {
    50: '#a66ed3',
    500: '#792dbf',
    950: '#000000',
  },
}
SCSS
$custom: #792dbf;
$custom-light: #a66ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#792dbf",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 271.233,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.21205,
    "h": 302.6
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#792DBF
secondary
#A2CB7C
accent
#E54391
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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