#792ECA#792ECA

#792ECA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.222 H 299.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#792ECA
RGBrgb(121, 46, 202)
HSLhsl(269, 63%, 49%)
HSVhsv(269, 77%, 79%)
CMYKcmyk(40.1%, 77.2%, 0%, 20.8%)
CIE-LABlab(38.35, 60.75, -67.32)
CIE-LCHlch(38.35, 90.68, 312.06°)
OKLaboklab(49.61% 0.1108 -0.1924)
OKLCHoklch(49.61% 0.222 299.9)
XYZxyz(19.5201, 10.2830, 56.8221)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792ECA #7FCA2E
analogous
#2E31CA #792ECA #C72ECA
triadic
#792ECA #CA792E #2ECA79
tetradic
#792ECA #CA2E31 #7FCA2E #2ECAC7
square
#792ECA #CA2E31 #7FCA2E #2ECAC7
split-complementary
#792ECA #CAC72E #31CA2E
monochromatic
#3D1766 #5B2398 #792ECA #985BDA #B88DE5

Accessibility & contrast

On white

6.87
#792ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#792ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792ECA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792ECA#FFFFFF#000000##FFFFFF
##792ECA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#66587B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792eca;
/* rgb */ color: rgb(121, 46, 202);
/* oklch */ color: oklch(49.6% 0.222 299.9);
Tailwind
colors: {
  custom: {
    50: '#a76fdb',
    500: '#792eca',
    950: '#000000',
  },
}
SCSS
$custom: #792eca;
$custom-light: #a76fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#792eca",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 268.846,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49611,
    "c": 0.22204,
    "h": 299.9
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#792ECA
secondary
#ABCF84
accent
#E64297
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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