#793EBB#793EBB

#793EBB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.188 H 301.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#793EBB
RGBrgb(121, 62, 187)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 67%, 73%)
CMYKcmyk(35.3%, 66.8%, 0%, 26.7%)
CIE-LABlab(39.74, 49.88, -56.28)
CIE-LCHlch(39.74, 75.20, 311.55°)
OKLaboklab(50.24% 0.0985 -0.1601)
OKLCHoklch(50.24% 0.188 301.6)
XYZxyz(18.5753, 11.0980, 48.1676)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EBB #80BB3E
analogous
#3E42BB #793EBB #B83EBB
triadic
#793EBB #BB793E #3EBB79
tetradic
#793EBB #BB3E42 #80BB3E #3EBBB8
square
#793EBB #BB3E42 #80BB3E #3EBBB8
split-complementary
#793EBB #BBB83E #42BB3E
monochromatic
#3E205F #5B2F8D #793EBB #9869CD #B897DC

Accessibility & contrast

On white

6.52
#793EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#793EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EBB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EBB#FFFFFF#000000##FFFFFF
##793EBB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#6B5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ebb;
/* rgb */ color: rgb(121, 62, 187);
/* oklch */ color: oklch(50.2% 0.188 301.6);
Tailwind
colors: {
  custom: {
    50: '#a577d0',
    500: '#793ebb',
    950: '#000000',
  },
}
SCSS
$custom: #793ebb;
$custom-light: #a577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793ebb",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 268.32,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.18795,
    "h": 301.6
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#793EBB
secondary
#ACC88D
accent
#DA4E98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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