#792EBF#792EBF

#792EBF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.211 H 302.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#792EBF
RGBrgb(121, 46, 191)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 76%, 75%)
CMYKcmyk(36.6%, 75.9%, 0%, 25.1%)
CIE-LABlab(37.45, 58.16, -62.36)
CIE-LCHlch(37.45, 85.27, 313.00°)
OKLaboklab(48.7% 0.1135 -0.1779)
OKLCHoklch(48.7% 0.211 302.5)
XYZxyz(18.2639, 9.7805, 50.2057)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EBF #74BF2E
analogous
#302EBF #792EBF #BF2EBD
triadic
#792EBF #BF792E #2EBF79
tetradic
#792EBF #BF302E #74BF2E #2EBDBF
square
#792EBF #BF302E #74BF2E #2EBDBF
split-complementary
#792EBF #BDBF2E #2EBF30
monochromatic
#3B165C #5A228E #792EBF #9754D6 #B586E2

Accessibility & contrast

On white

7.10
#792EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#792EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EBF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EBF#FFFFFF#000000##FFFFFF
##792EBF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792ebf;
/* rgb */ color: rgb(121, 46, 191);
/* oklch */ color: oklch(48.7% 0.211 302.5);
Tailwind
colors: {
  custom: {
    50: '#a66fd3',
    500: '#792ebf',
    950: '#000000',
  },
}
SCSS
$custom: #792ebf;
$custom-light: #a66fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#792ebf",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 271.034,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48701,
    "c": 0.21103,
    "h": 302.5
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#792EBF
secondary
#A3CB7E
accent
#E44491
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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