#792ECF#792ECF

#792ECF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.227 H 298.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#792ECF
RGBrgb(121, 46, 207)
HSLhsl(268, 64%, 50%)
HSVhsv(268, 78%, 81%)
CMYKcmyk(41.5%, 77.8%, 0%, 18.8%)
CIE-LABlab(38.77, 61.94, -69.54)
CIE-LCHlch(38.77, 93.12, 311.69°)
OKLaboklab(50.03% 0.1094 -0.1989)
OKLCHoklch(50.03% 0.227 298.8)
XYZxyz(20.1218, 10.5236, 59.9905)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792ECF #84CF2E
analogous
#2E34CF #792ECF #C92ECF
triadic
#792ECF #CF792E #2ECF79
tetradic
#792ECF #CF2E34 #84CF2E #2ECFC9
square
#792ECF #CF2E34 #84CF2E #2ECFC9
split-complementary
#792ECF #CFC92E #34CF2E
monochromatic
#3E186B #5C239D #792ECF #995FDB #B991E7

Accessibility & contrast

On white

6.76
#792ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#792ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792ECF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792ECF#FFFFFF#000000##FFFFFF
##792ECF1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#645A7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #792ecf;
/* rgb */ color: rgb(121, 46, 207);
/* oklch */ color: oklch(50.0% 0.227 298.8);
Tailwind
colors: {
  custom: {
    50: '#a770df',
    500: '#792ecf',
    950: '#000000',
  },
}
SCSS
$custom: #792ecf;
$custom-light: #a770df;
$custom-dark: #000000;
JSON
{
  "hex": "#792ecf",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 267.95,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.22704,
    "h": 298.8
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#792ECF
secondary
#AFD188
accent
#E7419A
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #792ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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