#792EBE#792EBE

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

Color values

HEX#792EBE
RGBrgb(121, 46, 190)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 76%, 75%)
CMYKcmyk(36.3%, 75.8%, 0%, 25.5%)
CIE-LABlab(37.37, 57.93, -61.91)
CIE-LCHlch(37.37, 84.78, 313.10°)
OKLaboklab(48.62% 0.1138 -0.1766)
OKLCHoklch(48.62% 0.21 302.8)
XYZxyz(18.1542, 9.7366, 49.6281)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EBE #73BE2E
analogous
#312EBE #792EBE #BE2EBB
triadic
#792EBE #BE792E #2EBE79
tetradic
#792EBE #BE312E #73BE2E #2EBBBE
square
#792EBE #BE312E #73BE2E #2EBBBE
split-complementary
#792EBE #BBBE2E #2EBE31
monochromatic
#3A165B #5A228D #792EBE #9754D6 #B585E1

Accessibility & contrast

On white

7.12
#792EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792EBE
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EBE#FFFFFF#000000##FFFFFF
##792EBE1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#6B5375
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792ebe;
/* rgb */ color: rgb(121, 46, 190);
/* oklch */ color: oklch(48.6% 0.210 302.8);
Tailwind
colors: {
  custom: {
    50: '#a66fd3',
    500: '#792ebe',
    950: '#000000',
  },
}
SCSS
$custom: #792ebe;
$custom-light: #a66fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#792ebe",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 271.25,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.21003,
    "h": 302.8
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #792EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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