#793DBB#793DBB

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

Color values

HEX#793DBB
RGBrgb(121, 61, 187)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(35.3%, 67.4%, 0%, 26.7%)
CIE-LABlab(39.56, 50.38, -56.57)
CIE-LCHlch(39.56, 75.75, 311.69°)
OKLaboklab(50.11% 0.0995 -0.1609)
OKLCHoklch(50.11% 0.189 301.7)
XYZxyz(18.5214, 10.9902, 48.1496)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DBB #7FBB3D
analogous
#3D40BB #793DBB #B83DBB
triadic
#793DBB #BB793D #3DBB79
tetradic
#793DBB #BB3D40 #7FBB3D #3DBBB8
square
#793DBB #BB3D40 #7FBB3D #3DBBB8
split-complementary
#793DBB #BBB83D #40BB3D
monochromatic
#3D1F5F #5B2E8D #793DBB #9868CE #B896DD

Accessibility & contrast

On white

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

On black

3.20
#793DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##793DBB#FFFFFF#000000##FFFFFF
##793DBB1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793dbb;
/* rgb */ color: rgb(121, 61, 187);
/* oklch */ color: oklch(50.1% 0.189 301.7);
Tailwind
colors: {
  custom: {
    50: '#a577d0',
    500: '#793dbb',
    950: '#000000',
  },
}
SCSS
$custom: #793dbb;
$custom-light: #a577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793dbb",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 268.571,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.18924,
    "h": 301.7
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

primary
#793DBB
secondary
#ABC88C
accent
#DA4E97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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