#793EBD#793EBD

#793EBD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.190 H 301.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#793EBD
RGBrgb(121, 62, 189)
HSLhsl(268, 51%, 49%)
HSVhsv(268, 67%, 74%)
CMYKcmyk(36%, 67.2%, 0%, 25.9%)
CIE-LABlab(39.89, 50.38, -57.22)
CIE-LCHlch(39.89, 76.24, 311.36°)
OKLaboklab(50.39% 0.0982 -0.1629)
OKLCHoklch(50.39% 0.19 301.1)
XYZxyz(18.7909, 11.1842, 49.3030)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EBD #82BD3E
analogous
#3E43BD #793EBD #B93EBD
triadic
#793EBD #BD793E #3EBD79
tetradic
#793EBD #BD3E43 #82BD3E #3EBDB9
square
#793EBD #BD3E43 #82BD3E #3EBDB9
split-complementary
#793EBD #BDB93E #43BD3E
monochromatic
#3E2061 #5B2F8F #793EBD #996ACE #B898DD

Accessibility & contrast

On white

6.49
#793EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#793EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EBD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EBD#FFFFFF#000000##FFFFFF
##793EBD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#6A5B78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ebd;
/* rgb */ color: rgb(121, 62, 189);
/* oklch */ color: oklch(50.4% 0.190 301.1);
Tailwind
colors: {
  custom: {
    50: '#a577d2',
    500: '#793ebd',
    950: '#000000',
  },
}
SCSS
$custom: #793ebd;
$custom-light: #a577d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793ebd",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 267.874,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.19018,
    "h": 301.1
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#793EBD
secondary
#ADC98E
accent
#DA4E99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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