#791EAD#791EAD

#791EAD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.209 H 308.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#791EAD
RGBrgb(121, 30, 173)
HSLhsl(278, 70%, 40%)
HSVhsv(278, 83%, 68%)
CMYKcmyk(30.1%, 82.7%, 0%, 32.2%)
CIE-LABlab(34.01, 59.91, -57.30)
CIE-LCHlch(34.01, 82.90, 316.27°)
OKLaboklab(45.85% 0.1308 -0.1629)
OKLCHoklch(45.85% 0.209 308.8)
XYZxyz(15.8907, 8.0109, 40.2362)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791EAD #52AD1E
analogous
#321EAD #791EAD #AD1E99
triadic
#791EAD #AD791E #1EAD79
tetradic
#791EAD #AD321E #52AD1E #1E99AD
square
#791EAD #AD321E #52AD1E #1E99AD
split-complementary
#791EAD #99AD1E #1EAD32
monochromatic
#300C45 #551579 #791EAD #9C2EDB #B462E4

Accessibility & contrast

On white

8.07
#791EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#791EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791EAD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791EAD#FFFFFF#000000##FFFFFF
##791EAD1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#714567
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #791ead;
/* rgb */ color: rgb(121, 30, 173);
/* oklch */ color: oklch(45.8% 0.209 308.8);
Tailwind
colors: {
  custom: {
    50: '#a567c6',
    500: '#791ead',
    950: '#000000',
  },
}
SCSS
$custom: #791ead;
$custom-light: #a567c6;
$custom-dark: #000000;
JSON
{
  "hex": "#791ead",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 278.182,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.20893,
    "h": 308.8
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#791EAD
secondary
#85C85E
accent
#ED3B7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #791EAD

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

Preview Lab → · Contrast checker → · Palette generator →

#791EAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva