#790CE2#790CE2

#790CE2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.7% C 0.265 H 296.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#790CE2
RGBrgb(121, 12, 226)
HSLhsl(271, 90%, 47%)
HSVhsv(271, 95%, 89%)
CMYKcmyk(46.5%, 94.7%, 0%, 11.4%)
CIE-LABlab(37.51, 75.12, -82.53)
CIE-LCHlch(37.51, 111.59, 312.31°)
OKLaboklab(49.7% 0.119 -0.2367)
OKLCHoklch(49.7% 0.265 296.7)
XYZxyz(21.7404, 9.8184, 72.6864)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#790CE2 #75E20C
analogous
#0E0CE2 #790CE2 #E20CE0
triadic
#790CE2 #E2790C #0CE279
tetradic
#790CE2 #E20E0C #75E20C #0CE0E2
square
#790CE2 #E20E0C #75E20C #0CE0E2
split-complementary
#790CE2 #E0E20C #0CE20E
monochromatic
#3B066E #5A09A8 #790CE2 #9737F4 #B571F7

Accessibility & contrast

On white

7.09
#790CE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#790CE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #790CE2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##790CE2#FFFFFF#000000##FFFFFF
##790CE21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#5B5985
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #790ce2;
/* rgb */ color: rgb(121, 12, 226);
/* oklch */ color: oklch(49.7% 0.265 296.7);
Tailwind
colors: {
  custom: {
    50: '#ab66ed',
    500: '#790ce2',
    950: '#000000',
  },
}
SCSS
$custom: #790ce2;
$custom-light: #ab66ed;
$custom-dark: #000000;
JSON
{
  "hex": "#790ce2",
  "rgb": {
    "r": 121,
    "g": 12,
    "b": 226
  },
  "hsl": {
    "h": 270.561,
    "s": 89.916,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.26497,
    "h": 296.7
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#790CE2
secondary
#A4DE6C
accent
#FF2992
background
#FBF6FE
surface
#F6EBFD
border
#D0C6D5
text
#110716
muted
#807A84

Preview Lab

Preview with #790CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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