#791EBD#791EBD

#791EBD is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.2% C 0.223 H 304.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#791EBD
RGBrgb(121, 30, 189)
HSLhsl(274, 73%, 43%)
HSVhsv(274, 84%, 74%)
CMYKcmyk(36%, 84.1%, 0%, 25.9%)
CIE-LABlab(35.34, 63.35, -64.63)
CIE-LCHlch(35.34, 90.50, 314.42°)
OKLaboklab(47.18% 0.1261 -0.1844)
OKLCHoklch(47.18% 0.223 304.4)
XYZxyz(17.5326, 8.6677, 48.8836)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791EBD #62BD1E
analogous
#2A1EBD #791EBD #BD1EB1
triadic
#791EBD #BD791E #1EBD79
tetradic
#791EBD #BD2A1E #62BD1E #1EB1BD
square
#791EBD #BD2A1E #62BD1E #1EB1BD
split-complementary
#791EBD #B1BD1E #1EBD2A
monochromatic
#350D53 #571688 #791EBD #9839E0 #B46DE8

Accessibility & contrast

On white

7.68
#791EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#791EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791EBD
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791EBD#FFFFFF#000000##FFFFFF
##791EBD1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#6B4C71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #791ebd;
/* rgb */ color: rgb(121, 30, 189);
/* oklch */ color: oklch(47.2% 0.223 304.4);
Tailwind
colors: {
  custom: {
    50: '#a668d2',
    500: '#791ebd',
    950: '#000000',
  },
}
SCSS
$custom: #791ebd;
$custom-light: #a668d2;
$custom-dark: #000000;
JSON
{
  "hex": "#791ebd",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 189
  },
  "hsl": {
    "h": 274.34,
    "s": 72.603,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47181,
    "c": 0.22341,
    "h": 304.4
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#791EBD
secondary
#94CE69
accent
#EF3887
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #791EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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