#792CE2#792CE2

#792CE2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.5% C 0.248 H 295.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#792CE2
RGBrgb(121, 44, 226)
HSLhsl(265, 76%, 53%)
HSVhsv(265, 81%, 89%)
CMYKcmyk(46.5%, 80.5%, 0%, 11.4%)
CIE-LABlab(40.17, 67.21, -78.15)
CIE-LCHlch(40.17, 103.08, 310.70°)
OKLaboklab(51.52% 0.1051 -0.2242)
OKLCHoklch(51.52% 0.248 295.1)
XYZxyz(22.5096, 11.3567, 72.9428)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CE2 #95E22C
analogous
#2C3AE2 #792CE2 #D42CE2
triadic
#792CE2 #E2792C #2CE279
tetradic
#792CE2 #E22C3A #95E22C #2CE2D4
square
#792CE2 #E22C3A #95E22C #2CE2D4
split-complementary
#792CE2 #E2D42C #3AE22C
monochromatic
#411282 #5C19B8 #792CE2 #9B62E9 #BD98F1

Accessibility & contrast

On white

6.42
#792CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#792CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792CE2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CE2#FFFFFF#000000##FFFFFF
##792CE21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#5A6189
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #792ce2;
/* rgb */ color: rgb(121, 44, 226);
/* oklch */ color: oklch(51.5% 0.248 295.1);
Tailwind
colors: {
  custom: {
    50: '#aa70ec',
    500: '#792ce2',
    950: '#000000',
  },
}
SCSS
$custom: #792ce2;
$custom-light: #aa70ec;
$custom-dark: #000000;
JSON
{
  "hex": "#792ce2",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 226
  },
  "hsl": {
    "h": 265.385,
    "s": 75.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.24757,
    "h": 295.1
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#792CE2
secondary
#BBDC8E
accent
#F235A2
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #792CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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