#793CBD#793CBD

#793CBD is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.193 H 301.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#793CBD
RGBrgb(121, 60, 189)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 68%, 74%)
CMYKcmyk(36%, 68.3%, 0%, 25.9%)
CIE-LABlab(39.53, 51.37, -57.80)
CIE-LCHlch(39.53, 77.33, 311.63°)
OKLaboklab(50.13% 0.1004 -0.1646)
OKLCHoklch(50.13% 0.193 301.4)
XYZxyz(18.6841, 10.9707, 49.2675)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CBD #80BD3C
analogous
#3C40BD #793CBD #BA3CBD
triadic
#793CBD #BD793C #3CBD79
tetradic
#793CBD #BD3C40 #80BD3C #3CBDBA
square
#793CBD #BD3C40 #80BD3C #3CBDBA
split-complementary
#793CBD #BDBA3C #40BD3C
monochromatic
#3E1F60 #5B2D8F #793CBD #9867CF #B896DE

Accessibility & contrast

On white

6.57
#793CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#793CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CBD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CBD#FFFFFF#000000##FFFFFF
##793CBD1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#6B5A78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793cbd;
/* rgb */ color: rgb(121, 60, 189);
/* oklch */ color: oklch(50.1% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#a576d2',
    500: '#793cbd',
    950: '#000000',
  },
}
SCSS
$custom: #793cbd;
$custom-light: #a576d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793cbd",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 268.372,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.19274,
    "h": 301.4
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#793CBD
secondary
#ACC98C
accent
#DB4D98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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